|
Posted by kchayka on 11/02/05 16:10
Sparticus wrote:
>
> 1.) If I make a table... with border="1"
> (which I don't think is 1 pixel... but just size 1)
The border width really is 1 pixel. There is a separate border around
each cell, plus the outside of the table. It looks wider because of
cellspacing, which usually defaults to about 2 pixels, making the border
appear to be about 4 pixels wide.
If you really want a 1-pixel border, look up border-collapse:
<URL:http://www.w3.org/TR/CSS21/tables.html#borders>
> 3.) I normally always set my cellspacing and cellpadding to zero, but
> if I don't, how does that affect the answers to the other questions?
<URL:http://www.w3.org/TR/html401/struct/tables.html#adef-cellspacing>
There is also a diagram there that may help.
--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Navigation:
[Reply to this message]
|