I am changing the layout of my site from simple html to css/xhtml but I must admit I have not much clue about both. I use and adapt a css layout example for my purpose.
I recently noticed a strange problem with some sites and can't figure out what the reason could be not to mention how to fix it.
I hope I can explain it with the help of two example sites.
First is the site with <html xmlns..> included:
4x11.htmCheck it in IE and it looks normal (as I planned it to be).
The very same site
without the xmlns:
_4x11.htmIn IE the third div container (where it says Guide > Book of Shadows > Season 4
) with the main content seems to be moved to the right.
Well, if you look at them in Opera now or in FF you will find that the closing line/border is not closing completely (it is down at the bottom of the page, right where it says "to top of site"). There are gaps.
I don't think I missed an element like </p> or </div> but something is wrong in the code.
Is there something I missed which is needed to tell the browser how to display these containers or is there a problem with missing or overused tags etc.?