ghost202
19 Apr 2009, 12:42 AM
I am using CSS. I have an image positioned at center top, and i would like to know how to position an image in the top right corner w/o altering the center top image.
Your help, appreciated.
Wickham
19 Apr 2009, 01:51 AM
Place the first image as a background-image on the body with this style:-
body { background-image: url(image.jpg); background-position: top center; }
and the other image as a background-image for a wrapper div:-
#wrapper { width: 100%; background-image: url(image2.jpg); background-position: top right; }
http://www.w3schools.com/css/pr_background-position.asp
<body>
<div id="wrapper>
All your content here
</div>
</body>
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.