Jump to content

Alignment problem in IE7


SteveMT

Recommended Posts

On the site I am currently working on:

 

http://smtdesigns.co.uk/rideonmowers/index2.html

 

The credit cards image sits above "PRODUCTS" in Firefox, Safari and Opera, which is where I want it. However, in IE7, it shifts to the right so it is above "HOME" which then interferes with the phone number.

 

Does anyone know how to resolve this?

 

Link to css:

http://smtdesigns.co.uk/rideonmowers/rom3.css

 

Link to comment
Share on other sites

Quick fix, change #cards To:

#cards {
position: absolute;
top: -55px;
left: 0;
}

 

And change #main-holder to:

#main-holder {
float: left;
width: 602px;
padding: 10px;
text-align: left;
}

 

Don't forget, that you can take full advantage of css position, by applying position: relative; to the basement div, this way its much easier to place your elements, and it has the advantage, that it doesn't matter which order you type in the elements in the document, and as result the document will be more search-engine friendly.

 

I toke advantage of it, in my BorderTechnique.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.