"you are actually floating the left element, not the right"

JSLucido, I don't understand.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Jeff Lucido
Sent: Tuesday, May 10, 2005 5:07 PM
To: [email protected]
Subject: RE: CSS Float Making Me Crazy


... hence reason I suggested using div's as containers instead. Also, think
of it this way, you are actually floating the left element, not the right. I
would also suggesting adding padding-left: XXpx (the width of the floated
left element) so that you properly space the second element which is laying
to the right.

-JSLucido

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Adrian J. Moreno
Sent: Tuesday, May 10, 2005 5:02 PM
To: [email protected]
Subject: Re: CSS Float Making Me Crazy

Daniel Elmore wrote:
> Yeah, that's exactly what I was asking about. I know I can just plug
> in
> "float: left", but why do I have too? If something is floated right,
> why does it jump down a line.

http://htmldog.com/guides/cssadvanced/display/

block puts a line break before and after the element. Header and paragraph
elements are examples of elements that are traditionally displayed
block-line.
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
   http://www.dfwcfug.org/form_MemberRegistration.cfm



----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
   http://www.dfwcfug.org/form_MemberRegistration.cfm





----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to