Page 1 of 1

Description margins in root gallery?

PostPosted: Wed Jul 21, 2004 10:21 am
by tivoli
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

PostPosted: Wed Jul 21, 2004 11:06 am
by alangrant
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).

PostPosted: Wed Jul 21, 2004 12:13 pm
by tivoli
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.

PostPosted: Wed Jul 21, 2004 12:27 pm
by tivoli
Got the centered text too. Am wondering if I can treat that description text with a different color. Am checking....