redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

cells with uniform height



 
Post new topic   Reply to topic    Web Design Forums -> HTML forum
View previous topic :: View next topic  
Author Message
autos06



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



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



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



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



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



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



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



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



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



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
optomeb



Joined: 19 May 2006
Posts: 113
Sorry.. hang on
Solet: in the css, use tr#status-table
Try it anyway
  Reply with quote


autos06



Joined: 13 May 2006
Posts: 123
Location: New York
Nope
Does it need a space between tr and #status-table?
  Reply with quote
optomeb



Joined: 19 May 2006
Posts: 113
Shouldn't
  Reply with quote
autos06



Joined: 13 May 2006
Posts: 123
Location: New York
And does it make any difference that i put the colgroups in?
  Reply with quote
optomeb



Joined: 19 May 2006
Posts: 113
I've never really used that to be honest
  Reply with quote
froomzer



Joined: 23 May 2006
Posts: 148
Are you sure that you can style columns that way?
I'm almost certain you can do very few things
Since "columns" are not properly part of the dom
In a way that makes sense
Or at least makes sense for the purposes of css and inheritance
Oh
And your selectors are wrong
#status-table td
  Reply with quote
autos06



Joined: 13 May 2006
Posts: 123
Location: New York
Yeah i just figured it out
Thanks tho
  Reply with quote
optomeb



Joined: 19 May 2006
Posts: 113
What did ya do?
  Reply with quote
autos06



Joined: 13 May 2006
Posts: 123
Location: New York
I didnt understand any of your attack on colgroups so i'm leaving them in... maybe some day i'll ask about it... but for now i'm too timepressed to care
optomeb: #status-table td
  Reply with quote
froomzer



Joined: 23 May 2006
Posts: 148
I was asking if that actually did anything...
Or did anything consistently in browsers
It seems it would be better (and more x-browser) simply to attach those ids to the header tds
Also you're missing important table things like caption, tbody, and thead
  Reply with quote
Page 1 of 1
Post new topic   Reply to topic    Web Design 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