Page 1 of 1

Adding borders på pictures?

Posted: Tue Oct 14, 2008 8:36 pm
by Rulle
Hello you all.

Isn't it possible to set borders on all images in the stylesheet?  So i dont have to make it on each picture on all pages.. I use Left sidebar + colum, and in the top of that stylesheet is says this:

Code: Select all

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}
I have tried to put it like this:

Code: Select all

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 1px black;
}
But theres still no border...

Re: Adding borders på pictures?

Posted: Tue Oct 14, 2008 9:00 pm
by Nullig
Have you tried:

border: 1px solid black;

Also, are there other stylesheets associated with the template that have img styles that override this entry?

Nullig

Re: Adding borders på pictures?

Posted: Tue Oct 14, 2008 9:05 pm
by Rulle
Ahh that "solid" did the job....

But that brought a new problem up i havent thought of; now there is offcourse also a border around som og the small .gif icons i use. For an example  an icon for a movieclip.

Is there a way to exclude some images, like .gif?