Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [stevenwolf] firefox and luna template set (leftsidebar)

Quote Reply
Re: [stevenwolf] firefox and luna template set (leftsidebar) In reply to
In Reply To:
I set the margin-left: -270px; but it doesnt display properly on firefox.
[/quote]
luna.css (default)
Code:
#leftsidebar {
margin-left: -200px;
padding: 10px 0px 10px 10px;
width: 190px;
float: left;
position: relative;
/* hide the left sidebar by default */
display: none;
}

I think the trick is to set the border-left on the ocwrapper
to a number larger than the negative offset of the leftsidebar,
and then unhide the left sidebar.
Code:
/*---------*\
|* content *|
\*---------*/
#ocwrapper {
/* background colour of left sidebar */
border-left: 200px solid #e2e1eb;
/* background colour of right sidebar */
border-right: 190px solid #ffffff;
padding-right: 20px;
background: #e2e1eb;
}

#leftsidebar {
display: block;
padding: 10px 0px 10px 10px;
}

Are you shooting for a 3 column layout like this?

Chris
RGB World, Inc. - Software & Web Development.
rgbworld.com
Subject Author Views Date
Thread firefox and luna template set (leftsidebar) stevenwolf 3073 Jul 16, 2006, 12:19 PM
Post Re: [stevenwolf] firefox and luna template set (leftsidebar)
pugdog 2937 Jul 20, 2006, 9:34 PM
Post Re: [stevenwolf] firefox and luna template set (leftsidebar)
brewt 2935 Jul 20, 2006, 10:42 PM
Post Re: [stevenwolf] firefox and luna template set (leftsidebar)
rgbworld 2923 Jul 21, 2006, 10:53 AM