This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Setup & design » stylesheet help
expandshrink

stylesheet help

stylesheet help

Wednesday 07 July 2004 9:16:49 pm - 4 replies

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

Wednesday 07 July 2004 9: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

Thursday 08 July 2004 12:28:48 am

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;
}

Thursday 08 July 2004 1:16:29 am

Thank you both those solutions were exactly what I needed.

Kimball

Thursday 08 July 2004 3:54:45 pm

I'm glad to hear it's working!

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

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from