[personal profile] sharpiefan posting in [community profile] style_system
(Ironic, I know, given the previous post!!)

I'm using Practicality for my personal journal, and have inserted a header banner using this code:

#canvas {
background-image: url(http://i26.photobucket.com/albums/c139/Sharpiefan/Sharpebanner1.jpg);
background-repeat: no-repeat;
background-position: top center;
padding-top: 250px;
}

I want to introduce a small margin (of about 10px) at the top and bottom of my banner, to give a bit of space between the banner and the nav bar, at the top, and the header box (or whatever it's called) underneath.

How can I do this? Or can't I?

Trying to increase the padding number to 270 just moves the header box down, without shifting the banner itself down as well.

Date: 2012-01-05 09:00 pm (UTC)
From: [personal profile] jewelfox
#header {
margin-top: 10px;
}

#canvas {
margin-top: 10px;
}

Does that work?

Date: 2012-01-05 09:11 pm (UTC)
From: [personal profile] jewelfox
Heh, okay. ^.^ Glad I could help!

Profile

Dreamwidth style system discussion

September 2025

S M T W T F S
 123456
78 910111213
14151617181920
21222324252627
282930    

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 11th, 2025 02:37 pm
Powered by Dreamwidth Studios