Click to See Complete Forum and Search --> : Background question
Tasmanian Devil
06-09-2005, 05:16 PM
Howdy~
I know that you can keep the background picture still but can you have it tile to where center on the page when it gets resized?
Thanks
The Devil
NogDog
06-09-2005, 05:21 PM
body {
background: white url(bg.png) no-repeat fixed 50% 50%;
}
Tasmanian Devil
06-19-2005, 07:41 PM
Howdy~
I was wondering what I am doing wrong with the background? Here is the test page (http://s88434475.onlinehome.us/test2.htm) with what I thought I was to do.
Thanks
The Devil
buntine
06-19-2005, 07:47 PM
You need to tell the browser that you are defining a CSS class.
<style type="text/css">
body { background: white url(/flag.jpg) no-repeat fixed 50% 50%; }
</style>
Regards.