# Css help please

**URL:** <https://forum.kirupa.com/t/css-help-please/161446>\
**Category:** Uncategorized\
**Created:** [September 4, 2005, 2:06am UTC](https://forum.kirupa.com/t/css-help-please/161446 "2005-09-04T02:06:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jain](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@jain](https://forum.kirupa.com/u/jain)\
**Post date:** [September 4, 2005, 2:06am UTC](https://forum.kirupa.com/t/css-help-please/161446/1 "2005-09-04T02:06:27Z")

</div>

Hi guys,  
I need my background image to not move off the screen when scaled dynamically. I want it so that the background image is centred and when someone reduces the browser window dynamically the background image is set to 0 0, so that it does move off the screen.

Does that make sense?

this is what I have so far:

body {  
background-color: #000000;  
background-image: url(images/bknd2.gif);  
background-attachment: fixed;  
background-repeat: no-repeat;  
background-position: center top;  
margin-left: 0px;  
margin-top: 0px;  
margin-right: 0px;  
margin-bottom: 0px;  
}  
–\>  
\</style\>\</head\>

to understand what I am talking about please go to  
[www.illicitrecords.net/test.htm](http://www.illicitrecords.net/test.htm) and scale/reduce the browser to the left.

Jain
