Tim: I know you said that you didn't want to go the table way, but a table in this case is perfectly acceptable, insofar as the relationship between the image and text is a tabular one. I wouldn't hesitate to use a table here, so long as it's marked up properly.
Bob ----- Original Message ----- From: "Tim Dawson" <t...@ramasaig.com> To: <css-d@lists.css-discuss.org> Sent: Monday, April 13, 2009 9:45 AM Subject: [css-d] Vertically centering text in a paragraph > > I'm working on a site which has several images on the page (300x225px). > Each > image has some descriptive text alongside, which generally is not as high > as the > image. My client would like the text vertically centred on the image. > > http://www.mull-bed-and-breakfast.co.uk/newcrofts/self-catering.php > > CSS deliberately seems to avoid a v-align capability in paragraphs. I > realise I > could introduce padding, but that would have to be tailored for every > piece of > text. Tables allow v-align in cells, I know, but I don't want to go that > route > either Is there a better way, please ? > > Tim Dawson > > -- > Tim Dawson > Maolbhuidhe > Fionnphort > Isle of Mull PA66 6BP > > 01681 700718 > ______________________________________________________________________ > css-discuss [cs...@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/ > > ______________________________________________________________________ css-discuss [cs...@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/