SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot gidday's Avatar
    Join Date
    Jan 2007
    Posts
    191
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can't get div to overlay properly

    Hi Folks

    http://canberragriffins.com.au/scp/

    Well unfortunately I can't seem to get this layout to work properly in FF. it works fine in IE. The problem is the the logo in the top right keeps pushing the text in the div below to the left. It all looks fine in IE, and that's frustrating.

    Can someone have a look at the css and let me know where that is going wrong.

    Thanks

    Joe

  2. #2
    SitePoint Wizard bronze trophy Centauri's Avatar
    Join Date
    May 2007
    Location
    Newcastle, Australia
    Posts
    3,718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    FF is displaying this correctly - as the #content-primary is floated to the right, it should butt up against anything on that side.

    First, get rid of the #logo div around the img - it is not needed. Then absolutely position the logo :
    Code:
    #header img.logo {
    	position: absolute;
    	right: 0;
    	top: 10px;
    }

  3. #3
    SitePoint Zealot gidday's Avatar
    Join Date
    Jan 2007
    Posts
    191
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cool. Thanks. I always forget about absolute positioning.

    Joe


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
  •