where are image_class settings? need to change css/add image border

Author Message

Ben Muller

Thursday 08 January 2004 3:10:34 pm

searched the forum & wiki to no avail...

I just need to add a border to my images, and changing my css in my design/mysite/stylesheets (it is a correctly linked css) does not work.

I know how to change the image size, I just need to change the css. thanks! Ben

Dominik Stoeppel

Friday 09 January 2004 11:09:22 am

hi,

if you mean linked images and you have also include the core.css look for this

a img

{
border: none;
}

you can also create a new class and set it in your templates

.myimage
{
padding: 2px;
border: 1px solid;
border-color : Black;
}

look at a css manual for more

--
dominik

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 10:17:45
Script start
Timing: Jan 31 2025 10:17:45
Module start 'layout'
Timing: Jan 31 2025 10:17:45
Module start 'content'
Timing: Jan 31 2025 10:17:45
Module end 'content'
Timing: Jan 31 2025 10:17:45
Script end

Main resources:

Total runtime0.0194 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.5859151.2422
Module start 'layout' 0.00690.0027 739.828136.6953
Module start 'content' 0.00960.0082 776.523490.1094
Module end 'content' 0.01780.0015 866.632829.9922
Script end 0.0193  896.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002713.7414140.0002
Check MTime0.00115.6687140.0001
Mysql Total
Database connection0.00147.074410.0014
Mysqli_queries0.002211.519530.0007
Looping result0.00000.139110.0000
Template Total0.00126.110.0012
Template load0.00094.683910.0009
Template processing0.00031.341810.0003
Override
Cache load0.00062.993710.0006
General
dbfile0.002513.102680.0003
String conversion0.00000.043140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs