placing image at top of the page?

Discussion in 'CSS' started by Seqqa, Oct 20, 2008.

  1. #1
    I've seen it before that you can place an image right to the top of the page with little or no space from where the page starts?

    + rep for any help.
     
    Seqqa, Oct 20, 2008 IP
    Sensei.Design likes this.
  2. mypsdtohtml

    mypsdtohtml Guest

    Messages:
    96
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The solution is margin: 0px; using that in your XHTML CSS you will get the effect
     
    mypsdtohtml, Oct 20, 2008 IP
    Seqqa likes this.
  3. Sensei.Design

    Sensei.Design Prominent Member

    Messages:
    3,847
    Likes Received:
    162
    Best Answers:
    0
    Trophy Points:
    310
    Digital Goods:
    1
    #3
    you can also go for margin: 0 auto; if you want the image centered above the page
     
    Sensei.Design, Oct 22, 2008 IP
    Seqqa likes this.