Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [pugdog] Problems with leftsidebar

Quote Reply
Re: [pugdog] Problems with leftsidebar In reply to
In Reply To:
Code:
#ocwrapper {
border-left-width: 180px;
}
#leftsidebar {
margin-left: -165px;
padding: 10px 5px 10px 0px;
width: 160px;
float: left;
position: relative;
display: block;
}

#contentheader .error, #contentheader .message {
margin: 0px 180px 0px 180px;
}
Your #ocwrapper left border is 180px, while #leftsidebar is moved over by -165px. That means you'll have 15px of space between the left side of the border and #leftsidebar (you've got 0 padding on #leftsidebar). On the right, you've set a 5px padding, add the 10px that you get from the shadow area and you also have 15px on the right side of #leftsidebar. Things add up, but I myself would have done:
Code:
#ocwrapper {
border-left-width: 180px;
}
#leftsidebar {
margin-left: -180px;
padding: 10px 5px 10px 15px;
width: 160px;
}
#contentheader .error, #contentheader .message {
margin: 0px 180px 0px 180px;
}

Adrian
Subject Author Views Date
Thread Problems with leftsidebar loxly 4273 Apr 3, 2005, 6:03 PM
Thread Re: [loxly] Problems with leftsidebar
pugdog 4191 Apr 3, 2005, 7:19 PM
Thread Re: [pugdog] Problems with leftsidebar
loxly 4188 Apr 3, 2005, 8:23 PM
Thread Re: [loxly] Problems with leftsidebar
pugdog 4183 Apr 3, 2005, 11:58 PM
Thread Re: [pugdog] Problems with leftsidebar
brewt 4155 Apr 4, 2005, 4:06 PM
Thread Re: [brewt] Problems with leftsidebar
loxly 4133 Apr 4, 2005, 8:35 PM
Thread Re: [loxly] Problems with leftsidebar
brewt 4131 Apr 4, 2005, 9:47 PM
Thread Re: [brewt] Problems with leftsidebar
loxly 4130 Apr 5, 2005, 12:15 AM
Post Re: [loxly] Problems with leftsidebar
brewt 4129 Apr 5, 2005, 12:25 AM
Post Re: [loxly] Problems with leftsidebar
brewt 4158 Apr 4, 2005, 3:48 PM