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>

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:24:05
Script start
Timing: Jan 31 2025 01:24:05
Module start 'layout'
Timing: Jan 31 2025 01:24:05
Module start 'content'
Timing: Jan 31 2025 01:24:06
Module end 'content'
Timing: Jan 31 2025 01:24:06
Script end

Main resources:

Total runtime0.7712 sec
Peak memory usage8,192.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.0078151.1953
Module start 'layout' 0.00480.0032 739.2031220.6719
Module start 'content' 0.00790.7625 959.87504,496.0625
Module end 'content' 0.77050.0008 5,455.937511.8828
Script end 0.7712  5,467.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4485160.0002
Check MTime0.00120.1570160.0001
Mysql Total
Database connection0.00070.088410.0007
Mysqli_queries0.677887.8886650.0104
Looping result0.00080.1004630.0000
Template Total0.722093.620.3610
Template load0.00180.234720.0009
Template processing0.720293.377320.3601
Template load and register function0.00150.188510.0015
states
state_id_array0.00130.170110.0013
state_identifier_array0.00100.131520.0005
Override
Cache load0.00160.2016250.0001
Sytem overhead
Fetch class attribute can translate value0.00180.231430.0006
Fetch class attribute name0.00220.289060.0004
XML
Image XML parsing0.00070.086130.0002
class_abstraction
Instantiating content class attribute0.00000.002570.0000
General
dbfile0.00090.1122160.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs