Forums / Setup & design / IE7 cuts tables in eZ publish

IE7 cuts tables in eZ publish

Author Message

Sandra Parente

Thursday 30 November 2006 4:11:49 am

Opening this page http://www.comune.canosa.ba.it/comune/organi_istituzionali/consiglio with Internet Explorer 7 on XP results in a table cut in the middle of row 12.

I don't know how to solve this bug of IE7. Unfortunately a lot of people is already using it!

Sandra Parente
www.netbliss.it

Claudia Kosny

Thursday 30 November 2006 5:47:23 am

Hi Sandra

Most likely the problem is caused by the invalid HTML you use. If you check your webpage in a validator (e.g. http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.comune.canosa.ba.it%2Fcomune%2Forgani_istituzionali%2Fconsiglio ) you can see that you have some errors there, especially in your table.

Post again if the problem should still be there after you have fixed the HTML of your page.

Claudia

Sandra Parente

Thursday 30 November 2006 7:57:57 am

Yes, the html is quite old and messed up, but the table is generated by the Online Editor, which is upgraded. I think the problem must be the .css ...

Sandra Parente
www.netbliss.it

Sandra Parente

Monday 29 January 2007 1:38:06 am

I'm posting again because the problems with IE7 are not solved at all. We did a test copy site for html fixing:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.netblu.it%2Fcomune%2Forgani_istituzionali%2Fconsiglio&charset=%28detect+automatically%29&doctype=Inline&verbose=1

It is OK for the validator, but not for IE7. Even simple lists are cut off now.

Maybe we have to change the layout completely. Can somebody suggest me some links with example or tips to build eZ publish sites fully compatible with Exploder 7? Unfortunately a lot of people are installing it...

Sandra Parente
www.netbliss.it

Sandra Parente

Thursday 01 February 2007 3:02:12 am

I found the problem.
IE7 is not compliant with XHTML-1.0-Transitional, but only with XHTML-1.0-Strict. This is important to know when building sites, because there are many differences between Transitional and Strict.
For example, the problem with this site was the bgcolor declaration inside the entities <table> and <td>, which is possible in XHTML-1.0-Transitional but is not in XHTML-1.0-Strict.
The strange thing was that for this the maincontent was displayed only partially...

Sandra Parente
www.netbliss.it

Thomas Hellstrøm

Thursday 01 February 2007 3:16:21 am

The reason for the cut is in line 353 of your site.css, where you set a height for div#maincontent:

height: 410px;

Other than that I can see you've got several errors in your CSS files, so you should check them further (try http://jigsaw.w3.org/css-validator/). And even though your HTML _seems_ to validate according to the W3C validator, I can actually see several errors there as well, so you need to check your code more carefully.

Sandra Parente

Thursday 01 February 2007 4:22:47 am

Thanks for your help, you are right, the height was referred maybe to the background image. But I was not clear in my posts: it is the test site that we tested with the validator, not the official: that's why you still see the html errors, because they are still there.
The worst thing is cleaning up something inherited, especially .css, we must check them carefully.
But doing this work, we noticed that IE7 is compliant with Strict declarations, and not Transitional.

Thanks again.

Sandra Parente
www.netbliss.it

eZ debug

Timing: Jan 19 2025 07:04:51
Script start
Timing: Jan 19 2025 07:04:51
Module start 'content'
Timing: Jan 19 2025 07:04:52
Module end 'content'
Timing: Jan 19 2025 07:04:53
Script end

Main resources:

Total runtime1.5355 sec
Peak memory usage4,096.0000 KB
Database Queries208

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 590.0859180.8359
Module start 'content' 0.00621.3474 770.9219629.5078
Module end 'content' 1.35360.1818 1,400.4297341.0938
Script end 1.5354  1,741.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.2747210.0002
Check MTime0.00160.1015210.0001
Mysql Total
Database connection0.00090.056610.0009
Mysqli_queries1.435393.47682080.0069
Looping result0.00300.19732060.0000
Template Total1.502497.820.7512
Template load0.00240.159020.0012
Template processing1.499997.681720.7499
Template load and register function0.00020.010410.0002
states
state_id_array0.00120.079110.0012
state_identifier_array0.00260.166820.0013
Override
Cache load0.00210.1375370.0001
Sytem overhead
Fetch class attribute can translate value0.00150.099440.0004
Fetch class attribute name0.00120.081090.0001
XML
Image XML parsing0.00430.278540.0011
class_abstraction
Instantiating content class attribute0.00000.0017130.0000
General
dbfile0.01541.0049320.0005
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs