JBL
JBL

Reputation: 247

CSS HTML Strange White Space

I am creating a website and there's a strange white space at the bottom of the page (only at IE). safari is fine. i am using ie8.

I want the white background ended after that black navigation links.

http://www.applezone.com.hk/newrx/

I can't figure out which part of the css causing that white space.

Thanks.

Upvotes: 0

Views: 1488

Answers (3)

3emad
3emad

Reputation: 238

try adding those:

.navlink{
  display: inline-block;
  margin-left: 51px;
}

i don't have IE8 to test on but i do use "IE tester" program which showed me the problem.

Upvotes: 1

Ralph Lavelle
Ralph Lavelle

Reputation: 5769

If you use Firebug (Firefox add-on) you can select that white space and it will show you where it is in the DOM, i.e. what the HTML is that is actually generating it - which element it's part of.

You can also switch on and off the individual styles on the fly.

The equivalent in IE is to hit F12 and get the 'Developer Tools' console. Find -> Select Element by Click.

Upvotes: 0

vzwick
vzwick

Reputation: 11044

Try display:block and/or margin:0 and/or padding:0 for the element in question. One of them is going to be the culprit.

Upvotes: 0

Related Questions