Board index PBase HTML and Style Sheets Description margins in root gallery?

HTML and Style Sheets

Description margins in root gallery?

Customize your galleries.
tivoli
 
Posts: 40

Description margins in root gallery?

Post Wed Jul 21, 2004 10:21 am


I've tried to read several tutorials, tried html in the root gallery page in the description box plus in the css stylesheet in a few different places, but I must be doing something wrong (again) so I ask again for your help. I would like to make margins around the description text, but cannot figure out exactly how and exactly where to put it. Thank you...again! The link should should the problem.


http://www.pbase.com/susanckd

alangrant
 
Posts: 861


Post Wed Jul 21, 2004 11:06 am


There are a number of ways you could approach this. If you look at "view source" on your own page, you'll see the description is wrapped in a DIV of class "galleryheader". So you could try adding this to your CSS stlyesheet:

Code: Select all
.galleryheader {
    margin-left: 30px;
    margin-right: 30px;
}


Of course you can change the 30px to whatever you want. It would also be possible to use padding- instead of margin- (probably doesn't matter which unless you intend making further changes, such as a different background colour or a border for the description).
Alan
Travel Photos - http://www.pbase.com/alangrant
Balkanology: Explore Southeast Europe - http://www.balkanology.com/

tivoli
 
Posts: 40


Post Wed Jul 21, 2004 12:13 pm


Thank you!!! I must have chosen the right place to put it, because it worked. Now to go see how to center the text! I'm sure that would be part of that same entry text, so I'll look around. Thank you again.

tivoli
 
Posts: 40


Post Wed Jul 21, 2004 12:27 pm


Got the centered text too. Am wondering if I can treat that description text with a different color. Am checking....


Board index PBase HTML and Style Sheets Description margins in root gallery?

Who is online

Users browsing this forum: ClaudeBot and 0 guests