you're right I didn't read it.

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

Floats are boxes that are removed from the normal flow of the document and are moved to either the left or right of the containing block, while other text wraps around them.
http://www.webreference.com/html/tutorial20/3.html

http://css.maxdesign.com.au/floatutorial/introduction.htm
http://css.maxdesign.com.au/floatutorial/

On 5/10/05, Daniel Elmore < [EMAIL PROTECTED]> wrote:
John, I appreciate your help, but you obviously didn't read my post. ;)
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of John Ivanoff
Sent: Tuesday, May 10, 2005 4:44 PM
To: [email protected]
Subject: Re: CSS Float Making Me Crazy

.left { float: left;  }
.right { float: right; }

On 5/10/05, Daniel Elmore <[EMAIL PROTECTED]> wrote:
<style type="text/css">
.left { }
.right { float: right; }
</style>
</head>

<body>
<h1 class="left">I'm left</h1>
<h1 class="right">I'm right</h1>
</body>

The right side jumps down a line until I put "float:left" in the left style.
Why do I have to float left and right just to get these things on the same
line? Shouldn't I be able to just float right???

- Daniel

----------------------------------------------------------
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