Previous Message
Next Message

Centering image h/v in *smaller* div

Sent by Martin Sammtleben on 10 April 2008 23:11


At 10:35 -0600 10/4/08, Lisa Onizuka wrote:
>Martin, I'm not sure if you want to bother with any inline css, but you
>could achieve it this way:
>
><div class="imagebox"
>style="background:url('dynamically-generated-path.jpg') center center
>no-repeat"> &nbsp; </div>

Thanks Lisa,

I had actually thought of this approach, but the thumbnails also need 
to be clickable links and in order to achieve that I would need to 
modify a core component of the CMS.

I might end up doing just that.


Cheers   Martin
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread:

Possibly related: