CSS Padding problem

Status
Not open for further replies.

Integers

Soon to be Developer!
Sep 22, 2012
119
7
This is what happens when I put padding in:


CSS:
Code:
wrapper {
    width: 500px;
}
body {
    background-color:#232323;
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    text-shadow: 0px 1px 1px #FFF;
   
}
#top_login{
    background-image:url(../images/top_login.PNG);
    height:6px;
    width:500px;
}
#mid_login{
    background-image:url(../images/middle_login.PNG);
    width:500px;
    padding-left:5px;
}
#bot_login{
    background-image:url(../images/bottom_login.PNG);
    height:24px;
    width:500px;
}
 

Weasel

👄 I'd intercept me
Nov 25, 2011
4,135
2,461
This is what happens when I put padding in:


CSS:
Code:
wrapper {
    width: 500px;
}
body {
    background-color:#232323;
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    text-shadow: 0px 1px 1px #FFF;
 
}
#top_login{
    background-image:url(../images/top_login.PNG);
    height:6px;
    width:500px;
}
#mid_login{
    background-image:url(../images/middle_login.PNG);
    width:500px;
    padding-left:5px;
}
#bot_login{
    background-image:url(../images/bottom_login.PNG);
    height:24px;
    width:500px;
}

Just a guess: set width to 545 from mid_login
 
Status
Not open for further replies.

Users who are viewing this thread

Top