Board index PBase HTML and Style Sheets Today's Challenge....

HTML and Style Sheets

Today's Challenge....

Customize your galleries.
polara
 
Posts: 19

Today's Challenge....

Post Sun Feb 08, 2004 3:35 am


This has probably been covered before, but is there any way to have a DIFFERENT background image or NO background image on your picture view pages then on the thumbnail page in the same gallery? Thanks

http://www.pbase.com/polara

alangrant
 
Posts: 861

Tricky!

Post Sun Feb 08, 2004 11:31 am


I don't think this can be done if you want the background image to apply to the entire page, because the same BODY declaration is used for the thumbnail pages and the image pages.

However you might be able to work something out by using the imagepage DIV. Almost everything within the picture view page is enclosed within this div (but not the comments section at the bottom).

For example if you want to have no background image on your individual pictures, you might try:

- set the background image in the BODY declaration to a fairly small (in height) image with no-repeat
- set the background color in the BODY to a colour that blends with the background image
- add a div.imagepage{} declaration with the same background color and background image set to none.

Hope this is of some help, you will probably need to do quite a bit of experimenting to make sure the picture view doesn't come out as a mess, but I don't think there is any neater way.
Alan
Travel Photos - http://www.pbase.com/alangrant
Balkanology: Explore Southeast Europe - http://www.balkanology.com/


Board index PBase HTML and Style Sheets Today's Challenge....

Who is online

Users browsing this forum: ClaudeBot and 1 guest