Jump to content

plz aadvice about align div tag


isaac_cm

Recommended Posts

Hello,

Please see the attached file, my problem is I cant get the right div "#right_footer" content in the gray footer area.

 

if you test it with IE 7 you will find the text "right div" is under the page , resolution 1024x768

 

please see my css and tell me what should I do

 

Thanks

Link to comment
Share on other sites

I think that the problem is that in your footer, the left div is 167px and the right div is 632px, making a total of 799px, but the total width of the containing footer div is only 785px, which means that the right div is forced below the left div, which makes it appear outside the box. The reason this doesn't happen in FF is that because the left div is floated, the right div just slides under it, and doesnt get bumped underneath.

 

I would suggest setting the right div to a width of 618px, and floating it to the left so that it bumps up against the other div. This will probably solve the problem in IE, and will also work in FF.

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.