Page 1 of 1

css issue with mozilla

Posted: Tue Jan 24, 2006 2:12 am
by itsmani1
i am working on pure css page, it works fine in IE but creates problem with horizental bar, here is page url
http://work.hostbreak.com/sws/stage3/3d_CGI_HDRI_0.html

when i check this in IE it works fine, but on mozilla it gives me horizental scrollbar, please help me.

thanx

Posted: Tue Jan 24, 2006 5:21 am
by Roja
First things first, you cannot expect consistent results across multiple browsers without using compliant HTML. So, get your html to validate:

http://validator.w3.org/check?verbose=1 ... DRI_0.html

Second, you have the same stylesheet (style.css) triggering twice, not sure why.

Third, the problem is in #contact, where you have an absolute position, shifted left by 89 pixels, AND 100% width. So of course it will be 100% of the screensize + 89 pixels. Reduce the 100% width there, and it fits fine.