SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Location
    U.A.E.
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    problem with padding

    Hi

    Code:
    #linksbar {
    	position: absolute;
    	right: 0px;
    	top: 50px;
    	background-color: #999999;
    	width: 100%;
    	height: 30px;
    	font-family: Tahoma;
    	font-size: 10px;
    	color: #666666;
    	padding-top: 5px;
    }
    when i add "padding-right: 70px;" it just add more 70 pixel for width and the horizon scroll bar appeare, so whats the problem? i use IE6, its work well in my CSS editor "Top Style" but not in the browser.

  2. #2
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try using position : relative.

    -Colin
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Location
    U.A.E.
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you

    but it didnt work, i'm confused.


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
  •