Re: [WSG] Margins and floats

2005-11-29 Thread Christian Montoya

 Ended up, because content comes first, making the margin for the right side
 menu 67% left.
 #content {float: left; width:65%;
   margin-right: 15px;
 }
  #links {padding-right:10px; margin-left: 67%}

 This seemd odd to me but it works...any comments, is this ok?


this is because 65% width + 15px margin is greater than 65%. So the
margin-left on the #links has to be greater than 65% + 15px, and 67%
seems to be enough.

--
--
Christian Montoya
christianmontoya.com ... rdpdesign.com ... cssliquid.com
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Margins and floats

2005-11-29 Thread Marko Mihelcic - founder of mcville.net (http.//www.mcville.net)|(http://board.mcville.net)
yeah my point exactly 67 % m8!

2005/11/29, Christian Montoya [EMAIL PROTECTED]:
 
  Ended up, because content comes first, making the margin for the right side
  menu 67% left.
  #content {float: left; width:65%;
margin-right: 15px;
  }
   #links {padding-right:10px; margin-left: 67%}
 
  This seemd odd to me but it works...any comments, is this ok?
 

 this is because 65% width + 15px margin is greater than 65%. So the
 margin-left on the #links has to be greater than 65% + 15px, and 67%
 seems to be enough.

 --
 --
 Christian Montoya
 christianmontoya.com ... rdpdesign.com ... cssliquid.com
 **
 The discussion list for  http://webstandardsgroup.org/

  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints on posting to the list  getting help
 **


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Margins and floats

2005-11-29 Thread Bruce
Bert Doorn wrote:

 G'day
  Ended up, because content comes first, making the margin for the right
side
  menu 67% left.
  #content {float: left; width:65%;
margin-right: 15px;  }
   #links {padding-right:10px; margin-left: 67%}
  This seemd odd to me but it works...any comments, is this ok?

 Why not use % all the way (e.g on the padding)?  That way you
 won't have to worry about whether 15px is more, or less, than 2%

My initial post was the fact that I never thought of using a LEFT margin
from the menu for the main content. Maybe I was tired, but hadn't thought of
this, being so used to leaving a right margin for the menu when it was on
the right. So I spent over two hours trying to make the menu stay put
without success in both ie and firefox.

The menu left worked, surprised me, lol, but seemed strange to allow space
on the leftlearning here
Thanks all!!

Bruce Prochnau
BKDesign

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] Margins and floats

2005-11-28 Thread Bruce
Hi all,

I have been trying to fix a simple 2 col layout for a client. Maybe I'm
tired but couldn't get it to resize in both ie and firefox without float
drop, menu is left side. Nothing worked including right margins.

Ended up, because content comes first, making the margin for the right side
menu 67% left.
#content {float: left; width:65%;
  margin-right: 15px;
}
 #links {padding-right:10px; margin-left: 67%}

This seemd odd to me but it works...any comments, is this ok?

Thanks
Bruce Prochnau
BKDesign Solutions
www.bkdesign.ca

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**