Recent Topics

Please explain these errors in Plain English

Started by on Dec 29, 2003 – Contents updated: Dec 29, 2003

Dec 29, 2003 13:36    

Hi guys, I have some problems with my new layout. I can't understand why this layout does not validate against XHTML 1.0 transitional. [url=]See yourself[/url]. :(

Dec 29, 2003 15:23

# Line 192, column 11: ID "sidenav" already defined (explain...).

<h3 id="sidenav">Blogrolas</h3>

You can only use IDs once each. Maybe you could try replacing them with classes, ie.

<h3 class="sidenav">

and such. In CSS you can change the #sidenav {} stuff into h3.sidenav {} to make sidenav a class of h3, or you could change it to .sidenav {} to make it a class of any tag.

Line 193, column 93: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified">LG</a> <img height=10 alt="LG asmeninė svetainė" src="htt

You need to wrap all attributes in quotes, ie.

<img height="10" alt="LG etc..." />

Line 195, column 234: end tag for "img" omitted, but OMITTAG NO was specified

..._a.gif" width=10 align=middle border=0> <a href="

In XHTML you need to close all tags. Tags which have open and close tags are the same as before, but single tags (such as img or input) need a space followed by /> to close them, ie.

<img src="jadajada.gif" />

I hope that helps! :)


Dec 30, 2003 07:46

Thanx, Funky "dude" :)

I should see myself, that so many instaces of the same ids will lead towards to the "validation death".


Form is loading...

Run your own website! – This forum is powered by b2evolution CMS, a complete engine for your website.