SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast shotdsherrif's Avatar
    Join Date
    Oct 2010
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    <div> placement in FF vs IE

    I'm a mostly backend developer who is struggling with some placement and style issues in a page I'm making.

    The main issue is a div on the index page that is intended to fill out the middle column and also take up the space below the left column - class="twoarcs" . The top left column is the nav bar.

    You can take a look at it here:

    Beverly Hills/Greater Los Angeles Association of Realtors®

    My problem is that if you look at it in IE, the .twoarcs div drop below the wrapper div, even though they fit perfectly in Firefox.

    I'm not very experienced in cross-browser issues. Can anyone duggest what I can do to fix it in IE without messing it up in FF???

  2. #2
    SitePoint Wizard donboe's Avatar
    Join Date
    Jun 2010
    Location
    Netherlands
    Posts
    1,963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    You should try to avoid working with a fixed height (#container{height: 750px;}, instead use for example overflow hidden. That way the container will adjust to the content it needs to hold!
    “Good artists copy, great artists steal” (Pablo Picasso - 1934)


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •