I hav开发者_如何学运维e started to use the CSS framework Bluetrip, and I just noticed that for some reason my layout doesnt line up exactly with the browser.
I only have one example to show, http://justcollect.com/ebay_app/index.php/home/index, but if you look closely, my footer doesnt line up with the bottom of the browser. There is some whitespace there.
Any ideas. Thanks.
put as answer so you can accept :)
do you see the effect of the content: "."
from your screen.css in your browser(s)?
Have you looked at in Firefox using Firebug - that is a great tool to look at what styling is being applied to each particular DOM element, and where each CSS attribute is originating from, what is inheriting, what is overridden. You can quickly solve a bunch of strange things like that.
In screen.css, change content: "."
to content: " "
for .clearfix:after, .container:after
. The period seems to be confusing the browser.
Use a CSS reset first:
http://meyerweb.com/eric/tools/css/reset/
精彩评论