SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Page margins

  1. #1
    SitePoint Zealot mistaya123's Avatar
    Join Date
    Dec 2009
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile Page margins

    Here is the link:
    http://www.articlecon.com/digiben/
    Width of the whole page container is 1024px. What I want to ask is why is there a white margin on top and left of the page even though i have set top and left margins to be 0.

    Thanx

  2. #2
    SitePoint Member
    Join Date
    May 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb

    just put:

    margin:0;

    in your body\html style (line 4 in your main.css file)

  3. #3
    SitePoint Zealot mistaya123's Avatar
    Join Date
    Dec 2009
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanx. It did the trick.


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
  •