I am trying to make a web page that has a stationary background while the text and pictures are scrolled. I am not good at coding as I mostly use yahoo site builder so please talk to me as a noob.
Thank You,
Peorge
I am trying to make a web page that has a stationary background while the text and pictures are scrolled. I am not good at coding as I mostly use yahoo site builder so please talk to me as a noob.
Thank You,
Peorge
I don't know the specifics of how this would be done in Yahoo Site Builder. But, the technique to do it via CSS is outline on the following pages:
http://www.w3schools.com/css/tryit.a...und-attachment
http://htmldog.com/reference/cssprop...nd-attachment/
yes, replace your <body> tag with this:
<body background="URL_TO_YOUR_IMAGE_HERE">
in css, the background scrolls as well, -- this way it;s stationary
- Josh
No, just used the position: fixed css attribute.
Code:body { background: url("image-url.jpg") fixed; }
- Mike
Bookmarks