Le 10 juil. 2012 à 00:40, Georg a écrit :

> Case: images are resized by max-width, and sinse margin-top is a kind of 
> constant the images' top stays fixed at original position. What if I want 
> some images to be repositioned based on their center or any other "internal 
> point" when resized - as we can do with background images?

Perhaps you can be play with the vertical-align property (although, knowing 
you, I suspect it won't give you the control you want…)?

> ...
> Can 'calc()' solve the problem, and if so is 'calc()' usable across 
> browser-land?

Hmm, maybe, I'm not fully picturing what you're attempting. calc() is usable in 
IE9 (un-prefixed), partly recent Chrome builds and WebKit nightlies 
(Safari.next) and Gecko 2.0+ (the latter two, prefixed).
http://caniuse.com/#feat=calc

Philippe
--
Philippe Wittenbergh
http://l-c-n.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