Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
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 April 30th, 2018, 02:58 AM
Registered User
 
Join Date: Jan 2018
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It is not clear what you want to achieve.

Can you please draw an image and post it here. That would help us to understand what exactly you want.

It may helps us to help you with better solution.


Thanks,
 
Old May 9th, 2018, 12:26 AM
Registered User
 
Join Date: May 2018
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you use a external style sheet the link tag in the head ie. <link type="text/css" rel="stylesheet" href="...."> and just use

<P>first line</P>
<p>second line</p>
<p>third line</p>

it will do the same as <br> and should work fine.

Thank You.
 
Old May 9th, 2018, 12:55 AM
Registered User
 
Join Date: Jan 2015
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default <br>,<p>, and text-align:justify

The last post was wrong on 2 counts
1) it missed point original post wanted text-align:justify to take affect
2) <p>...</p> is not the same as ...<br> because </p> tends to insert an extra blank line(depending upon margin and or padding settings.
3) I gave a solution before that will normally work. However, for very wide screens it gets ignored and for very narrow screens (resized) the following line may not fit on the screen.
.... an alternative to my earlier post was instead of using <br> start using &nbsp; instead of blanks until the browser think the phrase is too long to fit on the end of the line. That still has restrictions of 3
 
Old June 18th, 2018, 03:04 AM
Registered User
 
Join Date: Jun 2018
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have the same question, thank





Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace "<enter>" with "<br>" Varg_88 Classic ASP Basics 5 February 14th, 2011 12:33 PM
<br/> becomes <br></br> Kabe XSLT 1 July 6th, 2007 07:42 AM
to append <br> in XSLT dharus XSLT 4 August 1st, 2006 09:52 AM
Replacing Garriage Returns with <br /> rit01 ASP.NET 2.0 Basics 7 March 21st, 2006 03:33 AM
Replace vbcrlf with <br> using C# kgriffin ASP.NET 1.0 and 1.1 Basics 2 May 4th, 2005 09:29 AM





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