Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Frustrating table issue!
Old 01-18-2008, 04:25 AM Frustrating table issue!
Novice Talker

Posts: 14
Trades: 0
Hey there
I've been racking my brain over this issue and I really need some help!
I'm creating a site that is promoting several festivals, musicians and their CD's for sale.

So this is my problem..
I have created a table with 4 columns in each row. I want each row to align to the top of their cell, so that the tops of each cell look even all the way across the row. No matter what I do I can't get the cells to line up evenly. Once I figure it out I will use it as a template for all the rest of my musician pages.

Here is a link to the page in question:
http://mysticgardenmusic.com/freedom-fix.html


I'm sure it's an easy fix for someone in the know but for me it's frustrating! Thanks so much for helping!!
purenkind is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-18-2008, 05:16 AM Re: Frustrating table issue!
Experienced Talker

Posts: 33
Name: Ravi B
Location: Mauritius
Trades: 0
create a style in your stylesheet if you have any and add the class to your <td>


.styletd{
vertical-align:top;
}
__________________
Ravi
ravisatan is offline
Reply With Quote
View Public Profile
 
Old 01-18-2008, 05:32 AM Re: Frustrating table issue!
Novice Talker

Posts: 14
Trades: 0
Thanks..guess that means I'm going to have to learn about stylesheets.
Is there a way I can convert all the work I did into style sheets so I don't have do it all over again?

Thanks.
purenkind is offline
Reply With Quote
View Public Profile
 
Old 01-18-2008, 05:53 AM Re: Frustrating table issue!
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
If you want every rows to be aligned to top, write a rule for the global object
Code:
td{
     vertical-align:top;
}
This will apply to every <td> present in the page where your stylsheet is applied.
Look here [ http://www.ilovejackdaniels.com/chea...s-cheat-sheet/ ] for a real handy CSS reference
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 01-18-2008, 10:56 AM Re: Frustrating table issue!
Skilled Talker

Posts: 52
Name: Dustin
Trades: 0
There is a way to do it without css, the old way. I don't really want to lead you in that direction, but I guess it's alright since all you have to do is do a quick google search and you'll find it anyway Here's three ways to achieve what you want.

td { vertical-align:top; }

affects all td tags on the page. If that is not what you want, create a class:

.tdtop { vertical-align:top; }

<td class="tdtop">

or you could go the old way with simply putting:

<td valign="top">

Have fun...
__________________

Please login or register to view this content. Registration is FREE
TributeK is offline
Reply With Quote
View Public Profile
 
Old 01-19-2008, 09:38 AM Re: Frustrating table issue!
mihai074's Avatar
Experienced Talker

Posts: 36
Trades: 0
i know this is not the type of answer that your looking for but you should really use divs instead of tables, there are some really nice css tutorials out there.
__________________
Fun -
Please login or register to view this content. Registration is FREE
mihai074 is offline
Reply With Quote
View Public Profile
 
Old 01-24-2008, 12:05 AM Re: Frustrating table issue!
Novice Talker

Posts: 7
Trades: 0
Wow, that tip is really useful. THanks!
llee81 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Frustrating table issue!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28204 seconds with 12 queries