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.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jeff Lucido Sent: Tuesday, May 10, 2005 4:33 PM To: [email protected] Subject: RE: CSS Float Making Me Crazy Actually it has to do with the way you call the classes in your HTML. All that is needed is a float:left in the first <h1> call. If you want to make other items fall underneath then you will need to clear the floats as well. Also, I would suggest floating a div instead of heading text. Good luck, -JSLucido -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Elmore Sent: Tuesday, May 10, 2005 4:21 PM To: [email protected] Subject: CSS Float Making Me Crazy <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 ---------------------------------------------------------- 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
