Well, one of the problems you have is that you have put an <h2> element inside of a <ul> element. That’s a no-no.
Problems all seem minor, related to <li> tags:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.cafe789.com%2Fkyles_eyes%2F&charset=%28detect+automatically%29&doctype=%28detect+automatically%29&ss=1
Note that in the XHTML spec, the <h#> tags are not considered valid inside list elements. Think about putting header text inside <span> tags with their own class, and assign properties to them (i.e. size, bold) through your css.
Thread Starter
dawg
(@dawg)
Thanks for the tips, I am so use to static pages that this combination of php is throwing me off.
Thread Starter
dawg
(@dawg)
Kafkaesqui Could you please show me an example of what the code should look like? My dyslexic mind is driving me crazy as I can not see the problem after an hour of trying to rectify this. Thanks in advance.
<ul>
<li>List item</li>
<li>Another item</li>
<h2>Headline</h2>
<li>Item 3</li>
</ul>
Would have to be:
<ul>
<li>List item</li>
<li>Another item</li>
</ul>
<h2>Headline</h2>
<ul>
<li>Item 3</li>
</ul>
Thread Starter
dawg
(@dawg)
Thanks NuclearMoose
I will correct everything that is out of whack
Thread Starter
dawg
(@dawg)
Thanks to NuclearMoose for the clue my site now validates, I really am dyslexic, I could never do Algebra in school but for the most part get code right
http://www.cafe789.com/kyles_eyes/