wsg  

Re: [WSG] Shouldn't margin be working

Michael Horowitz
Wed, 06 Feb 2008 12:45:08 -0800

I guess my boxes are wrong. What you have is what I am looking for. What I thought I was doing was setting up a

#menu box adjacent to a #content box adjacent to a #right_box. All parallel. It appears the content box is actually going out to the entire size of the site while #menu box and #right_box are in it. What am I misunderstanding about setting up the box model correctly. (I don't want to just steal your code but understand how to do it right for the future)
Michael Horowitz
Your Computer Consultant
http://yourcomputerconsultant.com
561-394-9079



David Laakso wrote:
Michael Horowitz wrote:
I've added some margin and padding to the #content div

#content {
   margin-top: 0px;
   margin-left: 5px;
   padding-top: 0px;
   padding-left: 5px;
   clear: none;
   float: none;
}

But it doesn't appear to have an affect. I've verified it validates as CSS





Assuming the above is in reference to your uri <http://terrorfreeamerica.us/>

Your CSS is doing as you have asked. Put a border around #content and you will see it.

It is not exactly clear to me what you are after. But my guess is you're looking for something that looks more like this?:
<http://www.chelseacreekstudio.com/ca/cssd/temp05.html>

Best,

~dL





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************