CSS: definition of customized border box failed

Author Message

Don Ronaldo

Monday 16 February 2009 3:19:22 am

Hi there,

I edited my post slightly to make it more understandable.

Extension used: website interface

Website interface comes with three pre-defined css border-box classes called
* border-box
* box-2
* box-3

Now, I tried to define a custom border-box class called
* customborder-box

Thus, I just copied the css definitions of "border-box" and put them under my customborder-box definitions. This means, I replaced

div.border-box div.border-tl
{background: transparent url(images/box-1-border-tl.gif) no-repeat scroll left top;}

by

div.customborder-box div.border-tl
{background: transparent url(images/box-1-border-tl.gif) no-repeat scroll left top;}

and so on. Plus, in the appropriate template file, I replaced

<div class="border-box">

by

<div class="customborder-box">

That's all I've changed. The border-box div container architecture itself has not been changed at all. Unfortunately, the border background images are not visible when I call the template view of the website frontend. This happens in all website interface installations, so it is not just an unfortunate accident, but rather a general issue? Any hints are highly appreciated. Thanks folks,

Ron.

Don Ronaldo

Tuesday 17 February 2009 5:16:48 am

Problem solved by myself. There are some padding settings for the individual border div containers hidden in other css files, which have not been transfered to the classes-colors.css override file.

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 19 2025 03:40:19
Script start
Timing: Jan 19 2025 03:40:19
Module start 'layout'
Timing: Jan 19 2025 03:40:19
Module start 'content'
Timing: Jan 19 2025 03:40:20
Module end 'content'
Timing: Jan 19 2025 03:40:20
Script end

Main resources:

Total runtime1.3423 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.2891152.6406
Module start 'layout' 0.00690.0029 741.929739.4922
Module start 'content' 0.00981.3308 781.4219431.7109
Module end 'content' 1.34060.0016 1,213.13288.1250
Script end 1.3422  1,221.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.2859160.0002
Check MTime0.00200.1456160.0001
Mysql Total
Database connection0.00100.074210.0010
Mysqli_queries1.295496.5069520.0249
Looping result0.00050.0379500.0000
Template Total1.303297.120.6516
Template load0.00350.260620.0017
Template processing1.299796.829720.6499
Template load and register function0.00020.011710.0002
states
state_id_array0.00180.132510.0018
state_identifier_array0.00240.175220.0012
Override
Cache load0.00280.2082240.0001
Sytem overhead
Fetch class attribute can translate value0.00060.047410.0006
Fetch class attribute name0.00190.141920.0010
XML
Image XML parsing0.00010.008010.0001
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00070.0545100.0001
String conversion0.00000.000640.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
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
4content/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: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs