Rob,

Actually the margin-top works in IE but breaks in FF

<div id="container">
<div id="main">Main Column</div>
<div id="leftcolumn">Left column</div>
<div id="rightcolumn">Right column</div>
<div id="threecolumnbottom">The column</div>
</div>


body, form, p           {
        margin: 0px;
        padding: 0px;
}
#container      {
        width: 970px;
        margin-left: auto;
        margin-right: auto;
}
#leftcolumn             {
        width: 140px;
        border: 1px solid #000;
        float: left;
        margin-left: -828px;
        background-color: Gray;
}
#rightcolumn    {
        width: 140px;
        border: 1px solid #000;
        float: left;
        background-color: Fuchsia;
}
#threecolumnbottom      {
        margin-top: 100px;
        width: 968px;
        border: 1px solid #000;
}
#main   {
        width: 664px;
        margin-left: 152px;
        margin-right: 10px;
        float: left;
        border: 1px solid #000;
        display: inline;
        background-color: Lime;
        text-align: center;
}

-----Original Message-----
From: Rob Wilkerson [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 23, 2007 7:15 AM
To: CF-Talk
Subject: Re: OT: css n00b question

I prefer using margin when I'm creating space between containers and padding
when I'm trying to create space between content and the container edge.  I
just find it easier to think about that way, I guess.  I don't know why
margin isn't working for you, though.  Can you post a *snippet* of the css?

On 3/23/07, Doug Brown <[EMAIL PROTECTED]> wrote:
>
> I am trying my first css design and was wondering how to accomplish
> something. Say I have a container div which contains left, right and
> center
> columns and then below those three columns I want another div with spacing
> between the three columns above it, how would I accomplish this correctly?
> Would I use padding-top on the bottom div? I have tried using margin-top
> but
> that moves all the divs down and not just that one div.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Any help appreciated
>
>
>
>
>
>
>
> Doug
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273512
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to