Home › Forums › CSS › IE7 problem › Re: IE7 problem
April 4, 2008 at 1:56 pm
#46778
Chris Coyier
Keymaster
Instead of this code:
Code:
#results ul {
margin-bottom:20px;
margin-left:auto;
margin-right:auto;
}
margin-bottom:20px;
margin-left:auto;
margin-right:auto;
}
I’d try setting a static width and floating:
Code:
#results ul {
width: 200px;
float: left;
}
width: 200px;
float: left;
}
I think IE7 is having a hard time figuring out what to do without a width and those auto margins.