SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict Owz2004's Avatar
    Join Date
    Mar 2004
    Location
    U.K (Wales)
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Some Noobie IE issues

    Hi guys,

    Im struggling getting Ie to play nicely with a site I've done...

    www.rogerevansdesign.com

    In safari and firefox on the mac version 3+ it looks fine.. but Im getting odd issues with the nav and the content will not clear the floats even though I've placed clear's

    can someone point me in the right direction on these errors?

    any advice would be great on this..

    thank you

  2. #2
    SitePoint Addict Owz2004's Avatar
    Join Date
    Mar 2004
    Location
    U.K (Wales)
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is what can be seen in I.E

    https://docs.google.com/leaf?id=0B-E...ZmYzMDA4&hl=en

    and by the way, all pages are validated..

    thanks

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

    The nav problem is the double margin float bug (see faq on floats) and the fix is as follows:

    Code:
    .nav li {
        float:left;
        display:block;
        width:60px;
        margin-left:30px;
        display:inline;
    }
    See the faq for the reason why

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,350
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    IE7 isn't clearing because it doesn't like the <br clear="all" />.

    use css and use a div.

    Code:
        <div style="clear:both"></div>
      </div>
      <!-- End of content area Div --
    Use a class instead of the inline styles or use an unobtrusive clearing mechanism such as overflow:hidden on the parent or use the clearfix technique (details in the faq on floats)

  5. #5
    SitePoint Addict Owz2004's Avatar
    Join Date
    Mar 2004
    Location
    U.K (Wales)
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks very much these both worked great!


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
  •