You are here: Re: Simple CSS layout question. « HTML « IT news, forums, messages
Re: Simple CSS layout question.

Posted by Greg N. on 03/06/06 02:35

Noozer wrote:


> For example. To define the hieght and width of an element, it must be a
> block and not an inline. But if I do that, it starts a new line after the
> block, so I can't place block elements side by side.

make the blocks that are supposed to be in a horizontal "display:inline;"

> ..or... if I float a div left and a div right, the right one is lower than
> the left one.

Make sure your left and right floats have the same vertical margins and
paddings etc. Then, place the left and right float immediately after
one another in your source:

<div... >left float</div>
<div... >right float</div>
<p>text....

If they still don't not line up, let us have a look at your page.

--
Gregor mit dem Motorrad auf Reisen:
http://hothaus.de/greg-tour/

 

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

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