简体   繁体   中英

Weird margin under body-element on website when viewed with Firefox 7

My website that I'm currently working on have a problem in Firefox 7. A margin pushes the gradient in #wrapper up from the bottom and ruins the flow. I've reset the margin to 0 on body and html already and can't seem to find anything to explain this. Firebug tells me nothing of value on this case.

My code is here and you can look at the website yourself here

Just set the body height to 100%. This might help. And also add background-attachment:fixed; to avoid the background scrolling just in case your page scrolling.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM