bigsilk Posted September 18, 2009 Share Posted September 18, 2009 Any explanation? Link to comment Share on other sites More sharing options...
Guest FirefoxRocks Posted September 18, 2009 Share Posted September 18, 2009 You can't put headers inside of links... <div class="menu_box"><h1><a href="http://www.bigsilkdesign.com"><b class="rtop"> <b class="r1"></b> <b class="r2"></b> <b class="r3"></b> <b class="r4"></b></b>big silk design<b class="rbottom"> <b class="r4"></b> <b class="r3"></b> <b class="r2"></b> <b class="r1"></b></b></a></h1></div> Links must go inside paragraphs, table cells, list elements, headers, divs and stuff, but you can't put paragraphs, tables, headers, etc in links. Link to comment Share on other sites More sharing options...
Ingolme Posted September 18, 2009 Share Posted September 18, 2009 You appear to be using XHTML syntax in an HTML document. That is not valid.Remove any closing slashes/> from empty tags, and get rid of the xmlns attribute. Link to comment Share on other sites More sharing options...
bigsilk Posted September 18, 2009 Author Share Posted September 18, 2009 You can't put headers inside of links...<div class="menu_box"><h1><a href="http://www.bigsilkdesign.com"><b class="rtop"> <b class="r1"></b> <b class="r2"></b> <b class="r3"></b> <b class="r4"></b></b>big silk design<b class="rbottom"> <b class="r4"></b> <b class="r3"></b> <b class="r2"></b> <b class="r1"></b></b></a></h1></div> Links must go inside paragraphs, table cells, list elements, headers, divs and stuff, but you can't put paragraphs, tables, headers, etc in links. Link to comment Share on other sites More sharing options...
bigsilk Posted September 18, 2009 Author Share Posted September 18, 2009 Ok. I'm valid, both HTML 4.01 and CSS 2.1.Thanks,AdamHey, does anyone use the validation icons? Or is that just a newbie thing? Link to comment Share on other sites More sharing options...
Ingolme Posted September 18, 2009 Share Posted September 18, 2009 I don't use them in all my sites. It usually is better to make your own icons that match the site design better. Link to comment Share on other sites More sharing options...
Guest FirefoxRocks Posted September 18, 2009 Share Posted September 18, 2009 I don't know why you are using HTML 4.01 transitional when your page is valid HTML 4.01 Strict and also please remove the <?xml ?> line. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.