Rick Faircloth wrote: > @David... > > Hi, David... > > I took a quick glance at the css you recommended for Nouhad, > and I have a question. > > I noticed that you specified a float:left for all three > boxes (#box-1, #box-2, #box-3), then you gave #box-2 the attribute, > "position:absolute", and then #box-3, "float:right". > > I've just been working with CSS more for a couple of months > now, so I'm wondering why use "float:left; position:absolute; left:276px;" > on #box-2? > > Are you trying to avoid using margins, and, consequently, the IE6 > "margin-doubled bug"? > > My first instinct would have been to just give boxes one and two float:left > and that would cause all three boxes to line up, however, I would have had to > use > margins to space the boxes. > > Just wondering about the reasoning behind your approach. > > Thanks, > > Rick > >
<http://www.chelseacreekstudio.com/ca/cssd/boxes.html> Floating the boxes and separating them with margins is an alternative way to do it. The sometimes difficulty with floats is in centering them horizontally within a parent block. Best, ~dL -- http://chelseacreekstudio.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
