Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 17th, 2007, 02:28 AM
Authorized User
 
Join Date: Feb 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default line break

<div class="cleaner">&nbsp;</div>
This appears to do the same thing as a <br> tag with the clear: both propery set in CSS. Is there a better way to implement a clean line break than using a div tag and &nbsp;?

-Shivanand


Shivanand Yerva
__________________
Shivanand
 
Old May 17th, 2007, 06:04 AM
Friend of Wrox
 
Join Date: Dec 2003
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

<br style="clear:both;" /> ?

--
Charlie Harvey's website - linux, perl, java, anarchism and punk rock: http://charlieharvey.org.uk





Similar Threads
Thread Thread Starter Forum Replies Last Post
Line Break in CrossTab timothyc Crystal Reports 0 March 12th, 2008 09:25 PM
result line break. cowbell1 Java Basics 1 October 18th, 2007 05:28 AM
line break on email sent Maxxim BOOK: ASP.NET Website Programming Problem-Design-Solution 2 September 4th, 2006 04:07 PM
line break problem XSLT 1 February 20th, 2006 11:18 AM
break up line crmpicco Javascript How-To 1 June 6th, 2005 06:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.