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.
8 comments:
Flowers? Ours just makes 2" long really sharp spikes. Sets a nice tone for the front lawn.
This 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.'
Just lovely! You take great photos too, BTW, and I love your border; how'd you do it?
Here is the CSS:
.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...)?
The CSS goes into the template after the tag.
Ah, what a pity! I'll have to tuck that piece of knowledge away in my little kitbag, thanks hbl!
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.
Post a Comment