Tony Kay wrote:

> I am trying to set up a style that puts a 2 pixel border around a set
> of images. Then when the image is rolled over, I want the border to be
> 5 pixels. How is this done?

Please explain the idea more concretely. As usual, a URL would help. Do you 
want a single border around a block containing several images, or for each 
image separately? Should the border be of the same color and style in normal 
and rollover state?

Generally, if you change the width of a border on rollover (mouseover, 
hover), the page layout gets changed and the page redrawn. You might be able 
to avoid this e.g. by using a 2px border around an image or a block, wrap 
the element inside a container and set a 3px border for the container. Then 
you would set the color the same as the overall background color but change 
it to the desired color on rollover.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 

______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to