[thelist] CSS 2 column layout, relative positioning

Saila, Craig Craig.Saila at bgminteractive.com
Fri Oct 11 15:28:01 CDT 2002


> -----Original Message-----
> From: Chris Evans [mailto:chris at fuseware.com]
> Sent: October 11, 2002 4:13 PM

> I know this is probably a newbie question, but I'm trying to
> get two divs to line up next to each other without using
> absolute positioning. I basically want the second div to take
> its position relative to the upper right corner of the first div.

Won't be able to use relative positioning as the top of the second div
is relative to the height of the first. Try applying "float: left" to
the divs, otherwise you'll need to use absolute positioning on the
second.

--
Cheers,

Craig Saila
------------------------------------------
craig at saila.com : http://www.saila.com/
------------------------------------------



More information about the thelist mailing list