Page 1 of 1

Borders for thumbnails please

PostPosted: Sat Jan 31, 2009 2:15 pm
by kprdave
Hi all.

All I want to do is to put a two pixel border around the thumbnails in the black_standard stylesheet. Can someone please tell me the code to add or change and how? I know I'm being too lazy to try to learn how to edit CSS but I need to make the change and I'm just WAY too busy right now.

Thanks very much for any help.

Re: Borders for thumbnails please

PostPosted: Sat Jan 31, 2009 2:42 pm
by mardoli
Hello!
This is the script of the present style-sheet you use.
Code: Select all
DIV,BODY,TD,TH,TR,TABLE,FONT,INPUT,LI,UL,FORM,
BLOCKQUOTE,P,B,I,H1,H2,H3,H4,H5 {
  font-family: arial,helvetica,sans-serif;
  color : #888888;
  background : black;
}

A:link { color : #5865e1}
A:active { color : #d5ae83}
A:visited { color : #5068e3}
A:hover { color : #5b80b7}

.caption {
  font-size : 9pt;
  color : #dddddd;
  font-style : italic;
}

If you simply want to have a 2px border around your thumbnail you can try this way.
Add this code to your style sheet
Code: Select all
IMG.thumbnail {
  border-style : solid;
  border-width : 2px;
  border-color :  #ffffff;
}

so now your style-sheet script will be
Code: Select all
DIV,BODY,TD,TH,TR,TABLE,FONT,INPUT,LI,UL,FORM,
BLOCKQUOTE,P,B,I,H1,H2,H3,H4,H5 {
  font-family: arial,helvetica,sans-serif;
  color : #888888;
  background : black;
}

A:link { color : #5865e1}
A:active { color : #d5ae83}
A:visited { color : #5068e3}
A:hover { color : #5b80b7}

.caption {
  font-size : 9pt;
  color : #dddddd;
  font-style : italic;
}
IMG.thumbnail {
  border-style : solid;
  border-width : 2px;
  border-color :  #ffffff;
}


I hope it can help.
Have a nice weekend!
Marisa

Re: Borders for thumbnails please

PostPosted: Sat Jan 31, 2009 3:32 pm
by kprdave
Aaaaahhhhh

Thank you VERY much. This also gives me a taste of how this stuff works. When I have a bit more time I'll be able to learn more.

Thanks again and have a great weekend.

Dave

Re: Borders for thumbnails please

PostPosted: Sat Jan 31, 2009 4:57 pm
by mardoli
kprdave wrote:Aaaaahhhhh

Thank you VERY much. This also gives me a taste of how this stuff works. When I have a bit more time I'll be able to learn more.

Thanks again and have a great weekend.

Dave

You are welcome, Dave :)
Marisa