Click to See Complete Forum and Search --> : [RESOLVED] XHTML and HTML differences


Mr Initial Man
06-24-2007, 03:31 AM
Has anyone noticed that CSS backgrounds work differently with XHTML than HTML? I can never get an actual all-black background. I always get a big white space where the content ends. BTW, my page does use absolute positioning and is done in XHTML 1.1.

Fang
06-24-2007, 03:48 AM
The root element in HTML is the body element, whereas in XHTML it's the html element. http://annevankesteren.nl/2003/08/xml-styling

Mr Initial Man
06-24-2007, 01:36 PM
Sweet! Thanks! I was wondering what was going on. It works perfectly, now.