b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » Message 2753128 (Thread)

# I got that
but when I try to set where the text goes with a margin it moves the bg too
(, Sat 14 Feb 2004, 21:28, archived)
# what's the css?
here's an example i use

#contentheader {
height: 100px;
background-image: url(images/banner.jpg);
font-family: Verdana, sans-serif;
font-size: 9px;
text-align: right;
}

then in the html

<div id="contentheader">some text</div>
(, Sat 14 Feb 2004, 21:31, archived)
# ah
I aligned the text to centre and now it works fine, but for some reason the bg image repeats about 2 pixels
(, Sat 14 Feb 2004, 21:34, archived)
# ok
fixed it with a no-repeat
(, Sat 14 Feb 2004, 21:40, archived)