Click to See Complete Forum and Search --> : xhtml error showing in IE 8 only


alipalix
01-18-2010, 10:56 PM
The error is some jumbled graphic element that shows in internet explorer v8. The site is http://www.script-fix.com

The line is 153 and contains embedded video, with the background as a link to another page on the site. If I remove the link the graphics fall into place.

Here is the offending code (it works fine in all other browsers and versions)

<A href="video.html" style="text-decoration:none;"><h1 class="red_title">Videos</h1></A>

Any help would be appreciated.

Thanks
Al

Fang
01-19-2010, 12:26 AM
It's invalid markup. You are wrapping a block level element with an inline element.
http://www.w3.org/TR/html4/struct/global.html#h-7.5.3

Jerail
01-19-2010, 08:35 AM
Plus, the "A" shouldn't be capitalized. All XHTML is lower-case.

<h1 class="red_title"><a href="video.html" style="text-decoration:none;">Videos</a></h1>

alipalix
01-25-2010, 02:34 AM
Thanks for the replies.

Would either of you know how to fix the issue? My desiginer has gone awol.

Send business info if you have it.

Thanks
Al