On Tue, 14 Dec 2004 11:22:57 +0000, King of Red Lions
<thaynes/no_spam/@gawab.com> wrote:
>Hi, is there anyway of putting two divs side by side without using the
>float attribute?
Use the position property.
Use display: table-cell (and/or other table display options).
Use display: inline-block (or inline-table).
Nest them inside an HTML table.
Use frames.
Each has pros and cons. Some of the cons can be quite major.
It often happens that float isn't the best choice but is often the
"least worst" choice.
Steve
|