Dynadot — .com Registration $8.99

Basic background problem....?

Spaceship Spaceship
Watch
Impact
0
hey i am a complete novice ot the whole web deisgning thing but i have a question when i am in the web editing program (dream weaver) and i want an image to be the back round so i can put text boxes on top of it. i set the image as a the back round and i makes like a grid of multiple copies of the picture so it fills up the whole space. When all i want it a grey back round with 1 copy of the picture in the middle..... So i tried just making a table with the picture in the middle and it works fine but then i cant put a text box over it(because it isnt set as the background).... so do you know how to make a back round pics exactly where you want them? or how do you put text boxes on top of images?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
I don't know if you can necessarily do this with out a lot of code. My recommendation is to not use background images. They tend to take away from the image and they don't look that great imho.
 
0
•••
<style type="text/css">
body {
background-color:#CCCCCC;
background-image:url('images/background.jpg');
background-position:center center;
background-repeat:no-repeat;
background-attachment:fixed;
}
</style>

Put that in between your <head> tags or in the stylesheet you are using for the site.

Best of luck!
 
0
•••
nice job pandas. :) thats the way to do it.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back