Forum Moderators: mack
The second problem is this: on a page in Dreamweaver i put a black cell on the top of the site so i have the top of the page black...but in the preview the cell is NOT long enough...i mean, i still have a small area of white in the right!
How can i have my top of the page black from left to right?
Hope someone could help me :)
You can change these defaults by using background-repeat: and background-position:
So,
<body style="background-image: (url:image.jpg);background-repeat: no-repeat;"> will begin your image at (0,0) and only render it once in each direction instead of tiling it over and over.
Other options for background-repeat: are repeat-x and repeat-y. And if you want the image to begin at some other set of coordinates than (0,0) you can specify that position by saying background-position:100px 200px; or whatever coordinates you need.
If I understand your second question properly, it can be resolved by placing a background-image or a background-color, rather than using a fixed width image. The browser will fill the background space for as far as it goes in each users window if you set the background-repeat: property the way you need to for your layout.