- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi everyone.
Was wonering if anyone might be able to help.
I’m very new to web design. I was trying to have create a special page within a website that has a different
Add a class to the on the page that you’d like to be different. Then in your CSS you can use that to specify that page. Example:
HTML:
CSS:
.your-name #div-name {
background: url('/your/different/image.jpg');
}
Thanks TheDoc
This is where my stupidity shines through..
I follow the for instance
but on the styles.css it would be??
.wedding then I don’t follow.. (no div, image is in the
What are you applying your background image to?
Thanks for this…
Applying it to the ‘body’ tag in the ‘global section’ is that wrong?
Nope, that’s fine!
In that case, you’ll just do this:
.wedding {
background: /*something differnet*/;
}
wow, that simple? thanks so much!!