SubZero. Posted April 11, 2007 Share Posted April 11, 2007 Hello guys,I've got some errors while doing validation (Valid XHTML 1.0 Transitional):1) document type does not allow element "b" here; missing one of "dt", "dd" start-tag.2) document type does not allow element "span" here; missing one of "dt", "dd" start-tag.3) end tag for "dl" which is not finished. here: <dl class="logo"> <b><span style="color: black">13</span><span style="color: red">th</span></b> <span style="font-variant: small-caps">Division</span> </dl> 4) document type does not allow element "br" here; missing one of "dt", "dd" start-tag. here: <dl class="alt"> <dt>Adam '<b>bonq</b>' Cieslik</dt><br /> <dd class="img"><img src="img/bonq.jpg" alt="bonq" /></dd> <dd> xxx</b>ok<br /> test<b>ok</b> </dd> </dl> Link: http://validator.w3.org/check?uri=http%3A%...irteen%2Fnew%2F Link to comment Share on other sites More sharing options...
vchris Posted April 11, 2007 Share Posted April 11, 2007 Here's how the DL element should be used: http://www.w3schools.com/tags/tag_dl.asp that should solve your 3 first problems. For #4 I'm guessing you didn't use an XHTML DTD so it's giving you an error at <br /> either change your DTD to XHTML or change your <br /> to <br>.DTDs: http://www.w3schools.com/tags/tag_doctype.asp Link to comment Share on other sites More sharing options...
SubZero. Posted April 11, 2007 Author Share Posted April 11, 2007 Thank you, I fixed all already :-)I've one more question;In my XHTML code I've got <div id="footer"> <a href="http://jigsaw.w3.org/css-validator/check/referer">W3C CSS Validator</a> </div> And I've already made in my CSS a:hover class, but I want to make another one a:hover only for div id="footer".I tired to put in my CSS a#footer:hover and a.footer:hover, but none worked. How to name this clas? Link to comment Share on other sites More sharing options...
vchris Posted April 11, 2007 Share Posted April 11, 2007 close but here it is:#footer a:hover { } Link to comment Share on other sites More sharing options...
SubZero. Posted April 11, 2007 Author Share Posted April 11, 2007 Thank you, everything works well =]My next question is about coding letters.In my XHTML I've got <meta http-equiv="content-type" content="text/html;charset=utf-8" />, but when I'm using polish letters like ą, ę, ć, ż, ź, I only see something like this �. I think thats because I'm editing my XHTML doc in simple Windows XP Notepad, so which editor should I use for utf-8 coding? Maybe there is another problem?UPDATE: Ok, problem solved with PSP Editor. Link to comment Share on other sites More sharing options...
vchris Posted April 11, 2007 Share Posted April 11, 2007 http://www.w3schools.com/tags/ref_entities.asp Link to comment Share on other sites More sharing options...
the_scyphe Posted April 15, 2007 Share Posted April 15, 2007 the w3c validator has a lot of bugs. why not try using validome? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now