Page 1 of 1

How to add a 1px border around caption?

Posted: Fri 13. Jan 2006, 06:11
by mstroz
Hello,

What files (.tmpl? & css?) controls the caption under an image? Any suggestions on how to add a 1px border around the captions would be great too.

Thanks,
Mark

Posted: Fri 13. Jan 2006, 09:44
by flip-flop
Hi mstroz,

an easy metode to find out is to produce a testsite and have a look at the generated html-code.

Have a look:
www(.)mz.ja-nek.de/index(.)php?id=29,17,0,0,1,0

Gruß Knut

Posted: Sat 14. Jan 2006, 06:33
by Alphanumeric92
It depends on what article type your are trying to modify the caption in. For example, to modify the article type "image list" caption you have to define the class "imglistcaption" in the frontend.css file. Here is what the css looks like for this class to have a 1px border.

.imglistcaption {
border: 1px solid #b2b2b2;
}


What article type are you trying to define?

Posted: Mon 16. Jan 2006, 00:06
by mstroz
Alphanumeric92 wrote:It depends on what article type your are trying to modify the caption in. For example, to modify the article type "image list" caption you have to define the class "imglistcaption" in the frontend.css file. Here is what the css looks like for this class to have a 1px border.

.imglistcaption {
border: 1px solid #b2b2b2;
}
I'll try this.
What article type are you trying to define?
I want to format the caption area under photographs/images.