Scott Povlot wrote: > >I would like to display an image on the left with >caption to the right that is centered vertically on >the picture. > ><div> ><img class="frame" src="test.jpg" height="189" >width="280" /> ><p class="caption">This is a test caption</p> ></div>
For short, one-line captions, Adam's suggestion is surely a good choice. For captions that need to wrap, I made some experiments like [1], using the same mixture of display:table and display:inline-block that I used for other vertical centering/aligment problems. But please note that I consider this just an experiment. If you really need this type of vertical centering (with multiline, unknown-height captions), IMHO currently the safer choice is a table... [1] http://www.brunildo.org/test/valimid2.html ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/