You are here: Re: Strange Table Behaviour « HTML « IT news, forums, messages
Re: Strange Table Behaviour

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация