SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problems with clear

    I'm working on a css layout for my site and am having problems with floated divs and the amount of space a clear creates underneath. If you look at the home page here - http://www.acquiweb.com/acquiweb/ - in Mozilla it renders correctly but in IE6 and Opera 7 there's more white space between the first and second paras. What's causing this?

  2. #2
    SitePoint Addict BenANFA's Avatar
    Join Date
    Apr 2003
    Location
    Bath, UK
    Posts
    353
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not sure if it is a bug in IE6/Opera 7 or Mozilla, however it would appear that since your menu is floated left when you put in your first clearing spacer it is moving the insertion point to below the menu rather than just below the previous paragraph.

  3. #3
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah I noticed after I made this post if I removed the menu, then the page rendered fine. I tried floating both divs and removing the margin-left value of the div containing the text. It fixes the IE problem but messes it up in Moz!

  4. #4
    SitePoint Addict BenANFA's Avatar
    Join Date
    Apr 2003
    Location
    Bath, UK
    Posts
    353
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could try absolutely positioning your menu


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
  •