Posted by Mitja Trampus on 02/11/06 13:49
Smiley wrote:
> "W�rm" <nomailstodragon@north.invalid> wrote in message
> news:dsi4u0$g5a$1@phys-news4.kolumbus.fi...
>> If it's ALL that you want image in top left but nothing under it, why
>> don't you do something like this...
>> http://www.kolumbus.fi/ace/ng/image-in-top-left.html ? Just set image in
>> body background and use padding on left, that is.
>
> I also want to put writing overtop of the image in it's vertical center.
Verticl centering can admittedly be a PITA. vertical-align
property is only allowed for elements with
display:table-cell [1] and IE doesn't support table-cell for
anything but TDs.
There are hacks with margins and padding with which you can
avoid tables for alyout, but I still think a nested one-cell
160x170 table is the cleanest / least ugly solution here.
[1] and inline elements, but not in a way you could use here
[Back to original message]
|