Drupalist Drupalist - 1 year ago 93
HTML Question

Extra whitespace under the HTML tag

This is the website I am developing right now: in-nabavi.com. There is nothing in it but a few blocks. As you see there is an extra white space at the end of the document that I really have no idea why it is in there.

This is the firebug result

enter image description here

As you see the area with red line around it is not included in the HTML area.

I also tried the following

body, html{
height: 100%;

but it didn't work again.


Answer Source

You have used content: "." inside clearfix class for setting layout. Use content: ""; only.

.clearfix:after {
   visibility: hidden;
   display: block;
   content: "";
   clear: both;
   height: 0;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download