redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers

Ask your IT question here

cells with uniform height


Goto page 1, 2  Next
 
Post new topic   Reply to topic    Programming Forums -> HTML forum
View previous topic :: View next topic  
Author Message
autos06
Enthusiastic Coder


Joined: 13 May 2006
Posts: 123
Location: New York
How can i make sure that all of the cells in a table will be uniform height even if some of them have more lines of content than others? (ie, all cells are as tall as the tallest cell)

Reply with quote
 
optomeb
Enthusiastic Coder


Joined: 19 May 2006
Posts: 113
Solet: set the <td height="whatever> or <tr height="whatever">
Or use css

Reply with quote
 
Ikopar
Enthusiastic Coder


Joined: 26 May 2006
Posts: 168
Use css
Reply with quote
 
autos06
Enthusiastic Coder


Joined: 13 May 2006
Posts: 123
Location: New York
Whats the css for it? and can i do it in my colgroups css ?
Reply with quote
 
optomeb
Enthusiastic Coder


Joined: 19 May 2006
Posts: 113
<td style="height: 10px">
Reply with quote
 
autos06
Enthusiastic Coder


Joined: 13 May 2006
Posts: 123
Location: New York
In my external css file it would be td#idofmytable { height: 10px; } right?
Reply with quote
 
optomeb
Enthusiastic Coder


Joined: 19 May 2006
Posts: 113
Solet: yup
Reply with quote
 
autos06
Enthusiastic Coder


Joined: 13 May 2006
Posts: 123
Location: New York
optomeb... didnt work.... the table is the lower left hand corner of http://soletscripts.com and the code for the table and its css can be found at http://www.nomorepasting.com/paste.php?pasteID=61824
optomeb: any ideas why it didnt work?

Reply with quote
 
optomeb
Enthusiastic Coder


Joined: 19 May 2006
Posts: 113
Im not sure.. hang on i'm in the middle of three things at once here..
Reply with quote
 
autos06
Enthusiastic Coder


Joined: 13 May 2006
Posts: 123
Location: New York
optomeb: ok sorry for being impatient... its just that this is for a class :/
Reply with quote
 
Page 1 of 2 Goto page 1, 2  Next
Post new topic   Reply to topic    Programming Forums -> HTML forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group