Jump to content
Sign in to follow this  
stijnxo

Alignment Feature Boxes in IE

Recommended Posts

stijnxo

I looks like my Feature boxes are not aligned the same as in Safari? What to do? Check: wwww.amazone-project.com/wordpress

Share this post


Link to post
Share on other sites
cmunns

It looks like in IE you have a 20px margin on the left that needs to be changed to 0px `.dcol_3 {margin-left:0px;}`

Share this post


Link to post
Share on other sites
stijnxo

Now the featurebox goes out of the frame on the left in Safari. It works for IE. Maybe it is my custom code that is meshing this up. I use this to align my page entry's left to the content above: .page { margin-top: 0px; margin-left: -15px; } Any ideas?

Share this post


Link to post
Share on other sites
anvilmediainc

You should probably just set up a browser detector and redirect anybody who hits your page in IE to a Chrome or Firefox download page. Maybe they'll finally get the hint.

Share this post


Link to post
Share on other sites
Andrew

Nah, I wouldn't recommend doing browser detection... or the fix adam suggested... Always try and add margin/padding to `element-pad` HTML elements.... they are designed to be adjusted (without throwing off layout)

Share this post


Link to post
Share on other sites
stijnxo

Hmmm not really understand how to us this code. My main problem is to get my page content the same width as features and boxes, and aligned the same to the left. (in my case 960px). Now just shift the page to the left with this code (but this doesn't work for IE). .page { margin-top: 0px; margin-left: -15px; } Any better suggestions for this? Thanks a lot for your help.

Share this post


Link to post
Share on other sites
kastelic

Is this only happening in IE7? That's the only one I'm seeing the problem in. Try adding a 15px right-margin to your container.(maybe #boxes?) If it works then put the style in IE7.css or do an HTML IE hack.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×