- From: scsijon <scsijon@net2000.com.au>
- Date: Sun, 15 Jan 2006 20:30:06 +1100
- To: lachlan.hunt@lachy.id.au, www-html@w3.org
- Cc: www-html-editor@w3.org
At 10:51 PM 12/01/2006, Lachlan Hunt wrote: >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. this means: 1- The HTML spec can't reside on it's own, as i was told it was suppose to be able to do, when I learn't it. 2- I now have to learn CSS, something I have no idea about other than as a name! 3- I am expected to rewrite code that IS complete (and works) except for a SINGLE missing attribute, that I expected to be there as it's alternate (width) IS in the specification. not pleased folks scsijon >>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 Sunday, 15 January 2006 09:38:47 UTC