Forums / Setup & design / stylesheet help

stylesheet help

Author Message

StoneFly Techonology

Wednesday 07 July 2004 12:16:49 pm

Could somebody take a look at this and help me figure out why how to move the main content of my website to the left more to coincide with a narrower left menu. I've been working with the stylesheets for over a week now. Here's the site: http://other.museumsanrafael.org/

Thanks,
Kimball

Alex Jones

Wednesday 07 July 2004 12:37:30 pm

Try changing the <i>margin-left</i> rule for <i>div.maincontent-bothmenus</i> in your site.css. I would recommend something closer to 9 em instead of 14. You may want to test a bit to ensure that you won't run into overlap with the sidebar should you have a really long link name in there.

div.maincontent-bothmenus
{ 
    margin-left: 9em;
    margin-right: 16em;
    height: 100%; /* Needs to be set to 1% to avoid bug in IE 5.5 */
}

Alex
bald_technologist on the IRC channel: #eZpublish
http://www.agrussell.com :: http://www.cuttingedge.com

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Clay Pereira

Wednesday 07 July 2004 3:28:48 pm

Also to make your top menu go across the screen you need to give it at least a botom border of 1px.

div#topmenu 
{
border-botom: 1px;
}

StoneFly Techonology

Wednesday 07 July 2004 4:16:29 pm

Thank you both those solutions were exactly what I needed.

Kimball

Alex Jones

Thursday 08 July 2004 6:54:45 am

I'm glad to hear it's working!

Alex
bald_technologist on the IRC channel: #eZpublish
http://www.agrussell.com :: http://www.cuttingedge.com

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>