|
Posted by dalyea@gmail.com on 11/14/07 06:20
By the way, the solution I came up with so far after googling around
for about an hour is this:
div.ii1 {
width: 50px;
height: 50px;
float: left;
display: table-cell;
vertical-align: middle;
}
div.li1 img {
vertical-align: middle;
}
* html .li1 {
font-size: 44px;
}
It works in IE, but not Firefox. I tried a few other cumbersome
solutions, but this one
actually worked, made sense to me, and was fairly compact. It's just
the part about
it not working in other browsers which makes it incomplete.
Tables.... ugh.
David
Navigation:
[Reply to this message]
|