Forums / Setup & design / where are image_class settings? need to change css/add image border

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

eZ debug

Timing: Jan 19 2025 06:18:52
Script start
Timing: Jan 19 2025 06:18:52
Module start 'content'
Timing: Jan 19 2025 06:18:52
Module end 'content'
Timing: Jan 19 2025 06:18:52
Script end

Main resources:

Total runtime0.0167 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 589.2266180.7969
Module start 'content' 0.00710.0048 770.023493.8672
Module end 'content' 0.01190.0047 863.890670.7031
Script end 0.0166  934.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002414.3082120.0002
Check MTime0.00116.6373120.0001
Mysql Total
Database connection0.00074.401510.0007
Mysqli_queries0.003219.420240.0008
Looping result0.00000.190120.0000
Template Total0.004225.410.0042
Template load0.00105.901110.0010
Template processing0.003219.438810.0032
Override
Cache load0.00074.131310.0007
General
dbfile0.00042.4516100.0000
String conversion0.00000.047230.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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