If I’m understanding you correctly, your images are in your posts. So you would just want to add that div around an image in a post.
Right, that’s what I’m doing now. I actually got it to work in one post but in my stylesheet is seems as if it’s only particualr to whatever image i’m assigning it to…if that makes sense. For example: If I assign the shadow to a 240×320 sized image i have to tell the padding and margins to follow that image size in my css file. Now when I post another image and say the size is 120×96 it will keep the same settings for the original image I posted and the shadow will be out of whack for the new image but still correct for the old one. Here is the code I’m using in my css if anyone can help:
div.img-ilus {
background: url(images/shadow.gif) no-repeat bottom right;
margin: 0px 76px;
padding: 1;
position: relative;
}
div.img-ilus img {
background-color: #fff;
border: 1px solid #a9a9a9;
margin: -5px 5px 5px -5px;
padding: 4px;
position: relative;
vertical-align: bottom;
}
the “margin: 0px 76px;” is what’s throwing it off. Does anyone know how to make this universal to be used with whatever size image I post? thanks again
If you want one like Kitta.net has, example of it here:
http://kitta.net/colophon.php
It’s listed down in the section for: “Programs/Code Used”
she uses: Dunstan’s Dropshadows – For images. I’m thinking about using that same plugin then. 😉
spencerp
Kitta was the first one who gave me the idea to do this a long time ago actually. She has the instructions posted for the same place I got my coding from. Still won’t let me post different images with relative shadows matching the size of each image.
Oh ok.. I’m trying to think, I could have sworn there was something else out there.. just can’t remember where it was now.. sigh.. If I remember, I’ll post about it then ok.
spencerp
ok, i think I found a way to do it now. I have to add a pixel size in my div when I post the image so it matches the size of the image. not a big deal to add more code to the post, I guess. but alas, now firefox won’t show the drop shadows as would IE. off to find a solution for that. thanks for all your help