Jump to content

Problem with alignment/IE7


williamZanelli

Recommended Posts

Hi guys,

 

I;ve built a website, in FF3,  it works perfectly

 

In IE7, some margins, seem to be totally ignored for some reason

 

See this code,

 

#pagination_block{

margin: 2px 2px 2px 2px;
padding: 2px 2px 2px 2px;
background:#FF0000;


}

 

In FF3 its 100%.. in IE7 the margin is totally ignored.. could someone tell me what i;ve done wrong?

 

Thanks

 

Will

Link to comment
https://forums.phpfreaks.com/topic/161424-problem-with-alignmentie7/
Share on other sites

Welcome to the dungeon! The point in time in which your beautiful website gets slaughtered by IE. Alas!

 

There are a couple things that could be at work here. As above: Watch your floats and clears. Also, if I remember correctly, IE has a little habit of ignoring bottom margins in IE7. If you want a bottom margin, you either had to add a wrapper class or set the margin in the parent element. Something to follow up on, at least.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.