|
|||||||
| CSS Discussion and technical support relating to Cascading Style Sheets. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Setting table column width
Can anyone let me know how to set the width of all columns to 50px except the first row which should be 100px? I thought I would first set them all to 50, and then assign a class to the first row and set that one to 100, but it doesn't seem to work (see below). Thanks
Code:
#table_id td {border: 1px solid; width: 50px;}
td.first_column { width: 100px; font-weight: bold; }
.top_row td {font-weight: bold; }
|
|
#2
|
||||
|
||||
|
__________________
At least 98% of internet users' DNA is identical to that of chimpanzees |
|
#3
|
|||
|
|||
|
Thanks Fang!
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|