SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Feb 2005
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Padding don't go around?

    Hi I have a div box with a class .boite that supposed to get this value.

    Code:
    .boite {
    	background-color: #fff;
            padding: 4px;
    }

    The padding only occured left and topm how come ?

    The link

  2. #2
    Word Painter silver trophy Shyflower's Avatar
    Join Date
    Oct 2003
    Location
    Winona, MN USA
    Posts
    10,053
    Mentioned
    142 Post(s)
    Tagged
    2 Thread(s)
    Depending on screen types and resolutions, pixels display differently on each browser. Try using ems instead. You also may have declared different margins or paddings in other nested divisions or your ul? If so, it could account for the difference.
    Linda Jenkinson
    "Say what you mean. Mean what you say. But don't say it mean." ~Unknown


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
  •