|
Posted by Jonathan N. Little on 01/05/07 20:27
Jukka K. Korpela wrote:
> 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; }
Thanks, missed it...
>
> (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.
>
And I offered is as such. Until there is a standard it's the best we can
do. Following this draft at least you know your page will probably
display properly in web browsers, the OSCPWB, (Operating System
Component Posing as a Web Browser) well with that it is always a
crap-shoot ;-)
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|