Reply to Re: [CSS] Div-Tag and Vertical Align

Your name:

Reply:


Posted by dorayme on 08/22/06 04:09

In article <ecd0kq$9gc$1@newsreader2.netcologne.de>,
Martin Pöpping <martin_p@despammed.com> wrote:

> dorayme schrieb:
>
> > Divs are 100% wide in relation to their containers (eg. body) by
> > default. So if you want one centred, you need to give it a width
> > smaller than the container in which you want it to appear but big
> > enough to hold the content that is inside it (this needs careful
> > though often). Then you need to instruct it to centre. This
> > usually works:
> >
> > margin-left: auto;
> > margin-right: auto
>
> Thanks for your hint!
> I´m half ready now ;)

Will be able to look tomorrow... but have you tried applying the
above advice to height too?

--
dorayme

[Back to original 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

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