You are here: Re: Pixel Question « HTML « IT news, forums, messages
Re: Pixel Question

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация