Thread: CSS help
View Single Post
Old 04-26-2006, 12:42 AM  
Cyrano
Confirmed User
 
Join Date: Apr 2006
Location: USA
Posts: 900
CSS help

Does anyone know how to specify a colour for padded space in CSS?

I'm bordering/padding photographs on my website, here's the code:

photoimg {

padding: 5px;
border: solid 1px #CCCCCC;

}

That seems to work but the space between the image and the border is transparent (I'd like it to be white), are there any work-arounds to this problem?

Thanks
Cyrano is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote