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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Backgrounds

Status
Not open for further replies.

JoeM6

Programmer
Joined
Aug 5, 2000
Messages
53
Location
US
U know how if you have a background image that is too small it will start on the left, then fill in any remaining space on the right? Well is there a way to get it to start on the right and fill in remaining space on the left?

JoeM6
JPMJR11@aol.com
 
Do you mean you want it right-aligned? If so put the following code between the <head> and </head> tags...
Code:
<style type=&quot;text/css&quot;>
body { 
background-image: url(&quot;yourimagehere.gif&quot;);
background-repeat: no-repeat;
background-position: right top;
}
</style>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top