> Yes, Tom. I used this CSS on the container around the [two] images (the on
> and off images):
>
> #past_background div.past5 {
> display: block;
> margin-left: auto;
> margin-right: auto;
> width:60%;
> }
>
>
> The problem is is that I can't use that on the images because, for some
> reason, I can only affect the "off" image. I can move it around, but not
> the hover/on image. Obviously, they need to be positioned one on top of
> the other.
>
> Here's the code that is generated by my WP template and the image swap
> plugin:
>

I don't have time to test this, but could you add a max-width on
#past_background div.past5 of the size of the full-size image, and let
it do the centering? So it only gets as big as the full-size image and
stops and it's margins do the centering? Only flaw here is varying
sized images...



-- 

Tom Livingston | Senior Interactive Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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