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
https://forums.phpfreaks.com/topic/94074-plz-aadvice-about-align-div-tag/
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.

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.