[css-d] Text block in vertical middle

2010-11-28 Thread Kim Brooks Wei

Hi People,

I'd like to put information about these websites to the right of the 
jpgs, right smack in the vertical middle of the jpg height 
http://is.gd/hW4i9.


What might be a good way to do this?

Cheers,
Kimi

--

[ Kimi Wei
thewei.com
@kimiwei
(t) 862.203.8814
p o box 626
fair lawn, nj 07410 ]
__
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/


Re: [css-d] Text block in vertical middle

2010-11-28 Thread G.Sørtun


I'd like to put information about these websites to the right of the 
jpgs, right smack in the vertical middle of the jpg height 
http://is.gd/hW4i9.




Try adding...

#navcontent ul {display: table;}
#navcontent ul li a {display: table-cell; vertical-align: middle;}
#navcontent ul li p {display: table-cell; vertical-align: middle; 
padding-left: 6px;}


...and see if that's close enough.

regards
Georg
__
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/