IE renders top menu incorrectly

Author Message

Ian Trider

Saturday 15 October 2005 8:53:33 am

Hello,

On the eZ Publish site I am working on, I am having trouble getting IE to render the topmenu and submenu correctly -- the template is a modification of corporate, and there is a gap of 20px between it and the outer div when viewed in IE. The page displays perfectly in firefox.

I'm stumped. Are there any CSS wizards out there who could take a stab at why IE is rendering it this way?

http://iantri.ath.cx/ezpublish/index.php/corporate/products

Michael D.

Tuesday 18 October 2005 7:17:31 am

A good practice in general is to validate your CSS first:
http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=0&uri=http%3A//iantri.ath.cx/ezpublish/index.php/corporate/products

It shows 2 errors of which one might be the culprit:

div#toolbar-top {
padding: 0px 0 0 0 px;
...
}

You could also write it like this:

div#toolbar-top {
padding: 0;
...
}

Less code, less error prone.

The other error is just a spelling mistake.

If fixing the first error doesn't solve your IE problem, try asking for help in place more suited for this kind of question:
http://www.csscreator.com/css-forum/

You can bet that there are quite some CSS wizards and it is a good place for CSS information in general.

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 18 2025 19:08:17
Script start
Timing: Jan 18 2025 19:08:17
Module start 'layout'
Timing: Jan 18 2025 19:08:17
Module start 'content'
Timing: Jan 18 2025 19:08:18
Module end 'content'
Timing: Jan 18 2025 19:08:18
Script end

Main resources:

Total runtime1.0133 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0091 587.9219152.6250
Module start 'layout' 0.00910.0033 740.546939.4609
Module start 'content' 0.01240.9994 780.0078461.5313
Module end 'content' 1.01180.0015 1,241.53918.1641
Script end 1.0133  1,249.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3376160.0002
Check MTime0.00130.1306160.0001
Mysql Total
Database connection0.00200.192810.0020
Mysqli_queries0.961394.8615540.0178
Looping result0.00070.0690520.0000
Template Total0.971095.820.4855
Template load0.00270.266820.0014
Template processing0.968395.554620.4841
Template load and register function0.00020.017210.0002
states
state_id_array0.00220.221510.0022
state_identifier_array0.00100.095120.0005
Override
Cache load0.00210.2055190.0001
Sytem overhead
Fetch class attribute can translate value0.00070.070720.0004
Fetch class attribute name0.00120.123120.0006
XML
Image XML parsing0.00030.034520.0002
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00070.0706100.0001
String conversion0.00000.000840.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs