Title: Validation problem
Last modified: August 18, 2016

---

# Validation problem

 *  [dawg](https://wordpress.org/support/users/dawg/)
 * (@dawg)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/validation-problem-1/)
 * After working with several themes, changing them back and forth I finally tweaked
   the site to how I want it with a nav bar included.
    The side bar is where I am
   having troubles as it has been put together roughshod and is now giving me troubles.
   To complicate things I ran Tidy witch butchered the layout or at least threw 
   it into quirks mode. Here is how it looks and is what I want, but validate it
   does not [http://www.cafe789.com/kyles_eyes/](http://www.cafe789.com/kyles_eyes/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/validation-problem-1/#post-137455)
 * 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.
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/validation-problem-1/#post-137457)
 * 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](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](https://wordpress.org/support/users/dawg/)
 * (@dawg)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/validation-problem-1/#post-137465)
 * Thanks for the tips, I am so use to static pages that this combination of php
   is throwing me off.
 *  Thread Starter [dawg](https://wordpress.org/support/users/dawg/)
 * (@dawg)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/validation-problem-1/#post-137478)
 * 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.
 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/validation-problem-1/#post-137503)
 * `<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](https://wordpress.org/support/users/dawg/)
 * (@dawg)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/validation-problem-1/#post-137522)
 * Thanks NuclearMoose
    I will correct everything that is out of whack
 *  Thread Starter [dawg](https://wordpress.org/support/users/dawg/)
 * (@dawg)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/validation-problem-1/#post-137539)
 * 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/](http://www.cafe789.com/kyles_eyes/)

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Validation problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [dawg](https://wordpress.org/support/users/dawg/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/validation-problem-1/#post-137539)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
