I have the following rule for a static BG image and other attributes for the entire site:
#header{
width: 1014px;
margin: 0 auto;
height: 274px;
background: url(images/imagename.JPG) no-repeat top;
}
However, this no longer works for me. What I need to do is to include a different background image for the header in each page. What CSS rule would I use to create this?
Thanks
BelgianQ
BelgianQueen
0
Newbie Poster
Recommended Answers
Jump to PostYou could place a class on either a wrapper that goes around the header or on the body and then just specify the background or background-position (if using a sprite use position) for each of the sites. The #header code would be your base case and then you would specify …
All 4 Replies
scrappedcola
11
Posting Whiz in Training
BelgianQueen
0
Newbie Poster
scrappedcola
11
Posting Whiz in Training
MidiMagic
579
Nearly a Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.