SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: float problem

  1. #1
    What a twist! Kings's Avatar
    Join Date
    Jul 2002
    Location
    The Netherlands
    Posts
    954
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    float problem

    I need some help. I'm creating a design at the moment, and the floats just aren't working properly in IE. It works perfectly in both Firefox and Opera, but for some reason IE is screwing things up (or I'm doing something wrong).

    Click here to view a screenshot of Firefox's rendering (the correct way; the way I want it!)

    Click here to view a screenshow of IE's rendering.

    All the CSS is available here and you can view the site here.

    If anyone can tell me what's wrong, and (if any) possible work-arounds, that'd be well appreciated!

    Thanks!
    Dennis Pallett - NoCertainty - My Personal Weblog
    The Web Network: ASPit | PHPit | WebDev-Articles
    Blogs: TalkFones | Holidayzer | PHPit Blog

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,355
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Add position:relative to #top.
    Code:
    div#top {
     background-color: #1C2B30;
     float: left;
     width: 100%;
    position:relative;
    }
    That should do the trick

    Paul

  3. #3
    What a twist! Kings's Avatar
    Join Date
    Jul 2002
    Location
    The Netherlands
    Posts
    954
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That did it! Thanks a lot!
    Dennis Pallett - NoCertainty - My Personal Weblog
    The Web Network: ASPit | PHPit | WebDev-Articles
    Blogs: TalkFones | Holidayzer | PHPit Blog


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
  •