Board index PBase HTML and Style Sheets Borders for thumbnails please

HTML and Style Sheets

Borders for thumbnails please

Customize your galleries.
kprdave
 
Posts: 4

Borders for thumbnails please

Post Sat Jan 31, 2009 2:15 pm


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.

mardoli
 
Posts: 585

Re: Borders for thumbnails please

Post Sat Jan 31, 2009 2:42 pm


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
ImageImage
"Arguments are to be avoided; they are always vulgar and often convincing."
~Oscar Wilde~

kprdave
 
Posts: 4

Re: Borders for thumbnails please

Post Sat Jan 31, 2009 3:32 pm


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

mardoli
 
Posts: 585

Re: Borders for thumbnails please

Post Sat Jan 31, 2009 4:57 pm


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
ImageImage
"Arguments are to be avoided; they are always vulgar and often convincing."
~Oscar Wilde~


Board index PBase HTML and Style Sheets Borders for thumbnails please

Who is online

Users browsing this forum: No registered users and 1 guest