Need help with Html-please check!!:(

Discussion in 'HTML & Website Design' started by XTreMe, Sep 23, 2007.

  1. #1
    See the attachment file i want to remove that space from the top of my page how can i remove it i know there is some script but i dont know so please help me!
     

    Attached Files:

    XTreMe, Sep 23, 2007 IP
  2. Philopoemen

    Philopoemen Peon

    Messages:
    704
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #2
    IN CSS:
    body {margin:0; padding: 0;}
     
    Philopoemen, Sep 23, 2007 IP
  3. XTreMe

    XTreMe Banned

    Messages:
    1,226
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thank you vey much:)
     
    XTreMe, Sep 24, 2007 IP
  4. boyponga

    boyponga Banned

    Messages:
    1,013
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Use margin-top declaration on your css, but negate the values
     
    boyponga, Sep 24, 2007 IP
  5. Subliminal

    Subliminal Active Member

    Messages:
    322
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    Philopoemen got it right in my opinion :)
     
    Subliminal, Sep 30, 2007 IP
  6. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #6
    He probably wasn't using a univeral reset, which I recommend as it makes it more consistent cross-browser...

    *{margin:0;padding:0;} at the top of CSS, so browsers don't give different values to different elements.
     
    soulscratch, Sep 30, 2007 IP