Well, if you wish to apply it to certain images as you have said elsewhere you could put it in the IMG tag using the expression style="..." where ... is everything within the curly braces including the semicolons. Replace the variable $imgBorderColor with a definite value.
Flowers? Ours just makes 2" long really sharp spikes. Sets a nice tone for the front lawn.
ReplyDeleteThis tree had only one or two thorns. It is covered with fruit (drupes) through the winter. As kids, we referred to the tree as a 'thorn apple.'
ReplyDeleteJust lovely! You take great photos too, BTW, and I love your border; how'd you do it?
ReplyDeleteHere is the CSS:
ReplyDelete.post img
{
display: block;
margin: 0px auto 10px;
text-align: center;
border: inset 10px $imgBorderColor;
}
Thank you, hbl! I presume I put this code in the post, yes, not the template (I don't want to change that...)?
ReplyDeleteThe CSS goes into the template after the tag.
ReplyDeleteAh, what a pity! I'll have to tuck that piece of knowledge away in my little kitbag, thanks hbl!
ReplyDeleteWell, if you wish to apply it to certain images as you have said elsewhere you could put it in the IMG tag using the expression style="..." where ... is everything within the curly braces including the semicolons. Replace the variable $imgBorderColor with a definite value.
ReplyDelete