Forum Moderators: not2easy
Also, I want to do this same simple shadow border around the images that I add to my posts. Is there a code that will automatically add the border that I create in Photoshop to my images in my posts? How would the code know to be the dimensions of my image in my post or sidebar? Would I need to create different elements in Photoshop that are put together to create a background frame that adjusts to the size of my sidebar element or image in my post?
Thanks! I've been racking my brains trying to figure out how I can do this.
Susan
[edited by: swa66 at 4:51 pm (utc) on Feb. 1, 2009]
[edit reason] URLs, please see ToS and forum charter [/edit]
Please note we do things different out here: no images, no links.
To try to get you started:
Take a look at a technique called "sliding windows [google.com]"
The technique can easiest be understood by using 2 images, but it's quite possible to use one large button and use both sides from the same image
This method can be used both horizontally and vertically (even in both directions at the same time)
That can be combined with hover effects that change e.g. the background of an element if the cursor is over it.
To see what others are doing, take a look at the source code, or alternatively use something like the web developer toolbar in firefox and then you can point to something to see the CSS applied to it.
You can also replace text with images using CSS. Basically it means you make sure the text isn't rendered and only the background is shown (using e.g. a very large negative text-indent.
Does that start to point you what you seek to know ?