|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi, i'm designing my page and i would like my tables to look similarily as Dev Shed Forums table in the "main menu" (the starting page).
i cannot find out how this is done: the first table row uses cellspacing, the second row doesn't use it and the third row uses it again. (where 1st row is where "Forum,Last Post,Threads,Posts" is written, 2nd with "Programming Languages" and 3rd with "PHP Development") well, maybe it's not done this way at all (i tried to decode the HTML code but it was too complicated for me), but i would like to ask if it can be done somehow this way (eg: to define a table with cellspacing and then override this setting in one specific row with some CSS rule) or i have to use more tables to achieve this effect? it came in to my mind when i saw something similar in the Dev Shed Forum's HTML code: Code:
<td style="padding: 0px;"> is there something similar which influences cellspacing? thank you
__________________
miso |
|
#2
|
||||
|
||||
|
check the css part in the top...
|
|
#3
|
||||
|
||||
|
http://www.w3.org/TR/REC-CSS2/tables.html <-- that is the actual standard.
Secondly, here is a link to a plain english explanation http://markl.f2o.org/tutorial/table...ced_Tables.html
__________________
The Standards! CSS 2 - CSS 3 - w3c CSS Validator - XHTML 1.1 - HTML 4.01 - w3c (X)HTML Validator - ActionScript Reference Links! Bert's Door and Lock Service | Brandon Erik Bertelsen | TextPattern |
|
#4
|
|||
|
|||
|
finally, i helped myself with this:
Code:
<th align="left" colspan="3" style="background-color: #006699;">Some text</th> to display one continuous row in a table which normally uses cellspacing. <tr colspan="3"> didn't work for some reason. |
|
#5
|
||||
|
||||
|
cell spacing is only the white border(part) and you talk about the colspan attribute. These are two totally different things.
If you are new to HTML - tables then check your design first with border=1. Otherwise you can't see unclodes tags. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > cellspacing "override" with CSS? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|