PDA

View Full Version : Background versus image alignment?


acrystalball
07-08-2007, 03:27 PM
Howdy,
When I post images on my site, the right "margin" of the wrapper (is that what the white rectangle on top of the background .gif is called?) seems to be less than the left "margin." I'd like the image to be centered on the wrapper.

Here's an example:
http://www.crystalkeesey.com/index.php?showimage=25
I also see that the navigation buttons are also biased to the right a bit.

Is there a way to correct this?

Thank you for tolerating my very basic questions, this is my first attempt at tweaking a template.

Regards,
Crystal

jaywilliams
07-08-2007, 06:03 PM
Open up your css file.
(templates/lightwhitetwo/style.css)

Find this in your css code:
#header {
line-height:20px;
padding-left: 10px;
}

And change it so it looks like this:
#header {
line-height:20px;
}

Problem Solved.

acrystalball
07-08-2007, 08:17 PM
Thanks Jay.

I tried the #header change but it didn't do anything.
Then I tweaked the left wrapper margin by a few pixels. In the end I reset it to the 15 px padding that was specified in the original CSS and re-uploaded it. It then centered everything perfectly? I guess during the original upload a file got corrupted or something?

Anyway thanks so much for your help!
Kind regards,
Crystal