View Full Version : why is this list all over the place

05-10-2011, 12:42 PM
for some reaosn on my wordpress website this list is all over the place

i want to brack things up into three sub categories country county and town and city

i would like it to all be in an nice list with the image to the side but for the life off me i cant work out why its not showing right on the page yet it works fine in just plan html like i siad the website is build with wordpress

the link is


05-10-2011, 01:03 PM
Start with fixing the errors in your markup, see http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.hauntedrooms.co.uk%2Fhaunted-places-to-visit

You can't (and perhaps you don't need!) nest a <div> as the immediate child of a <ul>

05-10-2011, 01:06 PM
wa i am lost there would some mind helping me validate the code i not sure where to start

05-10-2011, 02:49 PM
i not sure where to start
Start from the beginning itself :)

Line 141, Column 11: an attribute value must be a literal unless it contains only name characters

<h2 style=\"text-align: left;\">By Country</h2>
There shouldn't be those backslashes in the html.

05-10-2011, 04:45 PM
the werid thing is when i look at the source code in wordpress i dont see the / in the source code ?