How to add a 1px border around caption?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
mstroz
Posts: 53
Joined: Wed 13. Apr 2005, 18:38
Location: Macon, Georgia USA
Contact:

How to add a 1px border around caption?

Post 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
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Alphanumeric92
Posts: 6
Joined: Wed 21. Dec 2005, 19:12

Post 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?
mstroz
Posts: 53
Joined: Wed 13. Apr 2005, 18:38
Location: Macon, Georgia USA
Contact:

Post 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.
Post Reply