SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist sitedesigner's Avatar
    Join Date
    May 2005
    Location
    On the Computer
    Posts
    436
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question The * { } syntax

    What exactly does the

    * {
    padding: 0;
    margin: 0;
    }


    at the top of a css doc do?
    █ [o] Programmer? PM me!
    █ [o] Getting back into the Business
    █ [o] Sitedesigner

  2. #2
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,341
    Mentioned
    63 Post(s)
    Tagged
    3 Thread(s)
    sets the margin and padding for every element to 0

    if you're ever wondering what a particular piece of css does, ask the SelectORacle

    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"

  3. #3
    SitePoint Evangelist sitedesigner's Avatar
    Join Date
    May 2005
    Location
    On the Computer
    Posts
    436
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oh wow. Thanks
    █ [o] Programmer? PM me!
    █ [o] Getting back into the Business
    █ [o] Sitedesigner

  4. #4
    SitePoint Wizard silver trophybronze trophy Nadia P's Avatar
    Join Date
    Oct 2004
    Location
    NSW Australia
    Posts
    3,564
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by r937
    sets the margin and padding for every element to 0
    if you're ever wondering what a particular piece of css does, ask the SelectORacle
    Great link thanks !

    Nadia


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
  •