SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Absolute Top

  1. #1
    SitePoint Addict Pace's Avatar
    Join Date
    Sep 2003
    Location
    Manchester - UK
    Posts
    298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Absolute Top

    Say you have a entry page to a site, the graphic you need has to be at the complete top of the browser. Now white space what so ever. Can anyone help me with this?
    Slick!

  2. #2
    SitePoint Addict Pace's Avatar
    Join Date
    Sep 2003
    Location
    Manchester - UK
    Posts
    298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    <style type="text/css">
    
    span.one {
    
    position:absolute; top:0px;
    
    }
    
      </style>
    ho ho ho im da man im da man!
    Slick!

  3. #3
    Caveat surfer Buddy Bradley's Avatar
    Join Date
    May 2003
    Location
    Cambridge, UK
    Posts
    2,366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or body { padding: 0; margin: 0; }

  4. #4
    Pointiest Petitions carrotflowers's Avatar
    Join Date
    Jul 2003
    Location
    Suburbs of DC (MD)
    Posts
    595
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or both. One to place the picture at the top, one to make sure the top is the absolute top by ensuring no margin or padding with Buddy Bradlwy's rule--otherwise some browsers will add some by default.


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
  •