|
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]
|