Forums
This topic is locked
CSS Background...please help a newbie
Posted 13 Jun 2007 05:10:41
1
has voted
13 Jun 2007 05:10:41 Marianne Spain posted:
I'm using Dreamweaver 8 Edcation version to develope a site. I want my back ground image to not repeat, so i set up a CSS background styly by setting up a class style called .background. In my CSS dialog box I browsed to the appropriate image and it to no repeat. I pushed the apply button & got noting...at all. What's going on?? Any ideas??See code below...thanks,
Marianne
.background {
background-image: url(Images/background_projects.jpg);
background-repeat: no-repeat;
}
Marianne
Replies
Replied 14 Jun 2007 08:48:27
14 Jun 2007 08:48:27 Alan C replied:
there's a solution here . . .
www.w3schools.com/css/tryit.asp?filename=trycss_background-repeat_no-repeat
I think the issue is that you have the background set in a class rather than on a particular div etc
www.w3schools.com/css/tryit.asp?filename=trycss_background-repeat_no-repeat
I think the issue is that you have the background set in a class rather than on a particular div etc