Jump to content

Problem With IE7 And Float Property


atticus

Recommended Posts

I am having a problem with a web design in IE.

www.insulationatlanta.com

At the bottom of the design, I have added three boxes to give the perception of a reflection, however they are not aligning correctly. The design works great in Firefox, any help would be appreciated.

 

Link to comment
https://forums.phpfreaks.com/topic/111114-problem-with-ie7-and-float-property/
Share on other sites

You can solve this problem by doing something like this:

 

+--------------------+

|                            |

|  +------------+      |

|  |    Content  |      |

|  +------------+      |

|                            |

+--------------------+

|                            |

|  +------------+      |

|  |    Reflection |      |

|  +------------+      |

|                            |

+--------------------+

 

You make a parent div that holds a div for the content and a div of the reflection. This will ensure the reflection div is ALWAYS aligned perfectly. Getting these 3 parent divs to float properly is another story, but will be much easier than trying to align 6 floats at the same time.

 

- TheFilmGod

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.