[thelist] CSS Guidance

Stephen Caudill SCaudill at municode.com
Sun Nov 23 15:19:32 CST 2003

--------------- Gina Anderson wrote: --------------- 
: I tried in the stylesheet:
: 	img.blogbody {
: 		border: 1px solid #DEDEDE;
: 		padding: 4px;
: 		}
: Which doesn't seem to work.

Right track, wrong train.  Try:

div.blogbody img{
	border: 1px solid #DEDEDE;
	padding: 4px;

the above selector translates to:
"Any div with the class 'blogbody' which contains and img tag"

Stephen Caudill

More information about the thelist mailing list