PDA

View Full Version : different background, different pages


tony larcombe
Dec-07-2005, 06:28 AM
Is there any way that I can have a different background for a different page. I'd like a patterned one for most pages and a gradient for my pricing page. The code I have in now.....

background-image: url(/photos/47370376-O.gif);
gallery_863484 .background-image: url(/photos/46939002-O.gif);

gives me the gradient only, what am I missing ?

Tony.

Mike Lane
Dec-07-2005, 08:10 AM
Is there any way that I can have a different background for a different page. I'd like a patterned one for most pages and a gradient for my pricing page. The code I have in now.....

background-image: url(/photos/47370376-O.gif);
gallery_863484 .background-image: url(/photos/46939002-O.gif);

gives me the gradient only, what am I missing ?

Tony.You're all kinds of messed up there. Try this:

body {background:url(/photos/47370376-O.gif);}
body.gallery_863484 {background:url(/photos/47370376-O.gif);}

tony larcombe
Dec-07-2005, 09:43 AM
Close but no cigar eh Mike ?, thanks.

Mike Lane
Dec-07-2005, 10:30 AM
Close but no cigar eh Mike ?, thanks.
It works in my browsers. What problems are you seeing?

tony larcombe
Dec-07-2005, 10:42 AM
It works perfectly, your advice as per usual, was spot on.

Thank you.

Mike Lane
Dec-07-2005, 10:48 AM
It works perfectly, your advice as per usual, was spot on.

Thank you.Oh I see... I just misunderstood. That's happening a lot today to me, must be one of those days.