SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Aug 2004
    Location
    Swindon
    Posts
    304
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    float clearence IE7 works FF doesnt

    hello all
    http://www.weblinker.co.uk/contactus.cfm

    im trying to get that page to play nice in FF - it works ok in IE7 ( i know!)

    if i try clearing the float (the orange/purple box is floated) then i loose the bg image - any ideas how to proceed?

    to see how it should look use ie7

    thanks all

  2. #2
    SitePoint Evangelist
    Join Date
    Jul 2006
    Posts
    493
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    SitePoint Wizard bronze trophy DaveWoods's Avatar
    Join Date
    Dec 2004
    Location
    Derbyshire - UK
    Posts
    2,651
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This will fix it...

    Code:
    #content{
    width:540px;
    margin:0 auto;
    padding:10px 0;
    color:#666;
    overflow: auto;
    }
    I also noticed a lot of white space before the doctype in your source code which you should get rid of.

    Hope that helps.


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
  •