Board index PBase HTML and Style Sheets How do I add a border around the entire gallery?

HTML and Style Sheets

How do I add a border around the entire gallery?

Customize your galleries.
jamooche
 
Posts: 11

How do I add a border around the entire gallery?

Post Sat Jan 10, 2004 9:03 pm


My website has a white border around each page. Here's an example page:

http://www.jamilabbasy.com/about.htm

I want to add this border around my pbase thumbnails. How can I do this?

http://www.pbase.com/jamooche

This is all I am able to do...but it puts a white border around every table on the page

http://www.pbase.com/jamooche/people

Any help would be great.

Jamil

jamooche
 
Posts: 11


Post Sat Jan 10, 2004 10:04 pm


I got it to work! But now my images look horrible as it adds white borders all over the place. It seems the style sheet modifications don't affect the images.

gallery:
http://www.pbase.com/jamooche/people

image:
http://www.pbase.com/image/4175638

How do I fix this?

Jamil

alangrant
 
Posts: 861


Post Sat Jan 10, 2004 10:39 pm


You almost have it, you just need to be even more specific, applying the border only to a table within a div of class "thumbnails". Like this:

Code: Select all
div.thumbnails table
{
   border: 4px solid white;
}
Alan
Travel Photos - http://www.pbase.com/alangrant
Balkanology: Explore Southeast Europe - http://www.balkanology.com/

jamooche
 
Posts: 11


Post Sat Jan 10, 2004 11:36 pm


Thanks very much Alan! Galleries are finally as I want them.

Jamil

northstar37
 
Posts: 880


Post Sun Jan 11, 2004 11:08 pm


And it looks good!

thestandin
 
Posts: 1


Post Wed Jan 14, 2004 6:52 pm


your gallery looks great jamil.

how did you get rid of the pbase bar at the top?


Board index PBase HTML and Style Sheets How do I add a border around the entire gallery?

Who is online

Users browsing this forum: ClaudeBot and 2 guests