[thelist] validation problem

Kae Verens kverens at contactjuggling.org
Mon Mar 24 08:55:14 CST 2003


{ schaapy } wrote:
> 
> How do I change this so that my page will validate? It's getting hung up on
> the (name="center")
> 
> The page: http://www.theparagon.org/work/gmb/gallery.shtml
> 
> <a href="#" onmouseover="swtch(3,center)" onmouseout="swtch(3,center)">
> <img src="img/gallery/zeeland_highschool/three.jpg" alt="Zeeland Building
> Shot One" border="1"></a>
> 
> 
> <img src="img/clear.gif" name="center" alt="">

the HTML4 spec does not have "name" as an attribute - exactly as the 
validator says:
http://www.w3.org/TR/1998/REC-html40-19980424/struct/objects.html#h-13.2

IIRC, this was an error that was corrected in HTML4.01 ...yup:
http://www.w3.org/TR/html401/struct/objects.html#h-13.2

> Also - 
> The left rail - the guy wants it to span from the top of the screen to the
> bottom. Right now the rail only spans as far as the content next to it. How
> can I make this 100%?

you could position it absolutely, using left:0, top:0 and bottom:0 - 
that involves a restructuring of your source code - you currently have 
your page set out using tables. See http://glish.com/css for some 
table-less layouts.

On an accessibility note, the rollover link is not usable by 
non-javascript browsers. It may be a better idea to initially display 
the images as if you expect the audience's browsers to not use 
JavaScript, then write some JavaScript to restructure the HTML according 
to your intended design.

-- 
Kae  Verens +----------------------------------+ webworks.ie
        pay  |      http://www.webworks.ie      |  bee
    play     |  http://www.contactjuggling.org  |     boss
kae         |http://kverens.contactjuggling.org|         god



More information about the thelist mailing list