h1 { line-height:35px;
font-size:18px;
font-weight: bold;
text-align: right;
background-image:url(images/heading1.jpg);
background-repeat: repeat-y;
height:35px;
width:568px;
margin:20px 0 20px 0;
border:0px;
}
[URL=http://www.sitestepper.com/images/h1.png]http://www.sitestepper.com/images/h1.png
Please look at the image above …
I like to give my header 1’s a background image.
I like to have the text right aligned.
However, I would like to have a couple of pixels between the rightmost character of the text and the border.
I cannot use padding or margin because that shifts the background image too.
Is this possible (without extra DIV-elements that is), just <h1>some text</h1> ?
Thanks in advance for any advice …
Erik