You are here: Re: Need solution « HTML « IT news, forums, messages
Re: Need solution

Posted by Jonathan N. Little on 12/26/05 17:39

Sunil wrote:
> could any body can help me in HTML/CSS
>
> i have one div and its width and height is 200px; and one child div its
> height and width is 50px;
> now i want that child div in center of the parent div. child div could
> be more than one may be 5. all should be center aligned and inlined.
> can any body help me pls :)
>

Do you mean up to (5) 50px squares stacked vertically within (1) 200px
square? If so, math will be your enemy, 50x5=250, what are you going to
do with the overflow? Also, with compliant browsers if you specify
border, padding, and margin for the child DIVs, that will also be added
to the total!

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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