View Full Version : Positioning a fixed background to the right


lovely_sugar102
04-05-2003, 04:22 PM
I need my fixed bg image to be aligned to the right. I have looked this up, but it only tells how to use absolute positioning. The problem is: if I use absolute positioning, then someone who doesn't use 800x600 resolution, will have to look at a margin between the bg image, and the right side. Can I position the bg to the right without absolute positioning? THANKS :)

MaGiCSuN
04-05-2003, 04:30 PM
I hope this works. Add the following code between your <head> and </head>:

<style type="text/css">
<!--

body
{ background-position:right center;

-->
</style>

if this doesn't work then delete "center" and see if that works.

Love,
Mirna