Hi Philippe! Thanks for your help! I really appreciate it. :) On Thu, Jul 18, 2013 at 5:32 PM, Philippe Wittenbergh <e...@l-c-n.com> wrote: > As for the original requirement (the caption won't be wider than the > intrinsic width of the image), I don't think there is a css property (current > or future) that will do that. Perhaps some of the ideas being discussed in > http://dev.w3.org/csswg/css-images-3/#sizing > might help. You'd still need to define a width/max-width on the parent > container I suspect. And no browser support it currently.
Ahhh, interesting. Thank you for the link to the relevant documentation. While it may not be the answer I was looking for, it's good to know that I'm fighting an impossible to win battle. I'll still play around with John's examples, as they are idea I hadn't thought of, but it's looking like Javascript is going to come to the rescue on this one. :( Hey Philippe, any idea why Safari doesn't mind obeying max-width on a <table> and Firefox does? See second example on this test page: <http://jsbin.com/eruxew/2> Thanks a billion! Micky ______________________________________________________________________ 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/