[personal profile] cheyinka posting in [community profile] style_system

I'm working on a NaNoWriMo 2010 theme for Practicality for my writing journal ([personal profile] the_omelet) and am having difficulties with the header.

If I use
set image_background_header_url = "http://endersgame.net/~cheyan/images/nanowrimo2010_participant_03.png";
set image_background_header_height = 90;
set image_background_header_position = "top right";
set image_background_header_repeat = "no-repeat";
set custom_css = "
h1#title,
h2#subtitle
{
text-align: center;
margin-right: 120px;
}";

then the title and subtitle don't seem to be exactly centered, but if I don't include the margin line, when I make my browser window very small the text goes over the top of the image.

Am I missing something? Is there a better way to get that image up at the top of the page?

Solution: Obviously, if it's going to be centered, the margins on left and right need to be the same. So, I just added a margin-left line to match the margin-right line. :)

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 31st, 2025 05:14 am
Powered by Dreamwidth Studios