PDA

View Full Version : CSS and Images


Jim_Shady
08-09-2005, 12:21 PM
Hi all,

I've quickly whipped up the following for someone:

http://www.funkypaws.co.uk/ ('http://www.funkypaws.co.uk/')

But in the top right of each page I would like to add a small picture of a cat. The header section of my CSS currently is as follows:

#header {
float:none;
background-color:#FFFFFF;
margin: 15px 15px 15px 15px;
background-image:url(Images/IndexTitle.gif);
Background-repeat: no-repeat;
border-bottom: 1px solid black}

So the 'Funky Paws' plus the cat paws in the first image. Can I insert another image as a background, and make it justify right or something? or should I create another DIV inside this DIV perhaps?

Thanks for any help or pointers that anyone could give me...

Shady.

ranjan
08-09-2005, 04:09 PM
Possible only in CSS 3. Except for safari no other browser supports multiple backgrounds ATM

Use nested divs

Jim_Shady
08-11-2005, 08:34 AM
Ok, cheers, I'll have a go...

Shady.

Jim_Shady
08-11-2005, 09:29 AM
Hi all,

Thanks for the pointers about nested DIV tags - I've managed to put the cat into the top right now!

http://www.funkypaws.co.uk/ ('http://www.funkypaws.co.uk/')

Shady.