|
Posted by Jukka K. Korpela on 01/05/07 18:51
Scripsit Jonathan N. Little:
>> <table border="0" width="100%" id="table1" cellspacing="0"
>> cellpadding="0">
- -
> TABLE {
> border-collapse: collapse;
> border: 0;
> width: 100%;
> }
That does not cover the cellpadding="0" attribute, which has the following
as its CSS counterpart:
caption, th, td { padding: 0; }
(Such settings as here mean, though, that the OP is probably using tables
just for layout and should really consider better approaches. Rarely have I
seen data table where zero padding is suitable; more often, the default
small nonzero padding should be _increased_.)
> FWIW: see http://www.w3.org/TR/CSS21/cover.html
It says: "This is a draft document and may be updated, replaced or obsoleted
by other documents at any time. It is inappropriate to cite this document as
other than work in progress." So you have been warned. It's still what's
closest to an approximation of an excuse for a current de facto CSS
"standard" that we have, but take care.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|