Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image position

Status
Not open for further replies.

SteveHigh

Technical User
Jan 17, 2007
158
GB
Hello

I have the following in a basic.css file:

body { background-color: #ffffff; font-family: verdana; font-size: 10px; margin: 15% 10% 0% 0%; text-align: justify; background-image: url(BarUse.jpg); background-repeat: no-repeat;}

It all seems to be working, but the image (BarUse.jpg) is stuck right against the top of my pages. How can I bring it down a little? Using the margin tag??

Many thanks.

Steve
 
[tt]background-position[/tt] property in CSS will allow you to move the background around. I suggest you read up on backgrounds and css.

___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top