Page 1 of 1

how to add picture borders ?

Posted: Tue May 15, 2007 11:40 am
by lsandini
Hello,

I am new in here, and already stumbling over probably easy things.

I have put up a small website at home, using XAMPP fro windows (Apache HTTPD 2.2.4, MySQL 5.0.37, PHP 5.2.1) as a platform, and the latest CMSMS 1.06. All is fine I think, and I started to add content using the WYSIWYG from the control panel.

When adding a picture to a page I am creating, and selecting a border for it, the border doesn't show. I realize it's something to do with the stylesheet of the page, but I cannot find the way to specify borders for pictures. I am using the "Left simple navigation + 1 column" template.

Any help ?

Lorenzo
www.brokenbones.d2g.comĀ  <-- visit me !

Re: how to add picture borders ?

Posted: Tue May 15, 2007 11:45 am
by moorezilla
I don't know about the wysiwyg, but if you put it in code view, you just need a class to add something like

border:solid 1px #000000;

you can just search on css border for more options.

If you want to use the same border in several places, you can add something like:

.picbor {border:solid 1px #000000;}

to a stylesheet and then call

class="picbor" inside any img src that you want the border on.