Re: HTML 4.01 Specification seems to have a Table variable just not there

scsijon wrote:
> Using your current spec (HTML40.pdf) from the W3 website, I refer to page 113,

It's always better to simply provide a link to the HTML version.

> In this you show (at the bottom of the page) an attribute of "width", 
> however, at no place is there an equivalent "height" attribute.

That's not needed, it can be done with CSS.  In general, you should 
avoid presentational elements and attributes in HTML in favour of CSS.

> I show an example for your perusal, hoping that it gives you my 
> intention. it is not a complete file, just a relevant section with the 
> added attribute.
> ---------------------------
> <body background="images/brown_bg.gif"  bgcolor="#e1d2be" text="#666666"

You can remove every single one of the attributes in this sample markup, 
and use CSS instead:

body { background: #e1d2be url(images/brown_bg.gif); color: #666; 
margin: 0; padding: 0; }

> link="#0000ff" vlink="#800080" alink="#ff0000" leftmargin="0" topmargin="0">

:link { color: #00F; }
:visited { color: #800080; }
:link:active, :visited:active { color: #F00; }

> <table border=0 width=800 height=780 cellpadding=0 cellspacing=0>

table { border: 0; width: 800px; height: 780px; border-spacing: 0; }
td { padding: 0; }

-- 
Lachlan Hunt
http://lachy.id.au/

Received on Thursday, 12 January 2006 11:51:55 UTC