WordPress rendering page diffently from standard test.html
-
I’ve been playing around with using my own themes to create a CMS site for a friend of mine. I’ve now encountered an interesting problem with the CSS.
If I create a bog standard test.html page with all the divs in the right locations and simply view this test page in a browser I can see the layout I’m expecting ( a rectangle of colour with various div blocks on top ). If I now view it with all the WordPress data, it renders differently. In particular my overall ‘container’ div loses the plot completely.
The page setup is roughly:
html
head
/headbody
div container width at 960px dark background colour
div header area with logo etc then closing /div
div menu bar and closing /divvarious divs to hold specific posts, but all with closing /divs
div sidebar area with closing /div
div footer area closing /div
/div for container
/body
/html
My container has a background colour that I expect to see all over my page rectangle, but it gets as far as the header area and stops. Could the wp_page_menu call be upsetting things? Has anyone else encountered this situation?
Ideas on a postcard please …
The topic ‘WordPress rendering page diffently from standard test.html’ is closed to new replies.