The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

2 Pages V < 1 2  
Reply to this topicStart new topic
> How to Break line after a special character, How to Break line after a special character
Christian J
post Oct 12 2021, 11:17 AM
Post #21


.
********

Group: WDG Moderators
Posts: 8,934
Joined: 10-August 06
Member No.: 7



QUOTE(Brian Chandler @ Oct 12 2021, 11:04 AM) *

It looks to me as though the OP originally wanted to be able to represent a newline by some arbitrary character - in this case a hyphen, and is hoping that some magic will cause this hyphen to be turned into a newline in the HTML display. But this particular piece of magic is not within CSS's repertoire, so this is not going to work. He says "hitting Enter after the hyphen", but who knows what effect this has on some random "HTML script"?

My understanding of the first post is that users will enter text in another "application" (a form?), then an unknown script (server-side or client-side?) writes it into an HTML table (and/or database?). So the newlines would have to be added by that script.

QUOTE
Can anyone explain any sort of semantics of the bizarre string "white-space: pre-line"? Three English words and one English prefix, with no obvious meaning.

I quoted the spec's definition above. The value string by itself is of course unintelligible.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Sachin Gupta
post Oct 13 2021, 12:31 AM
Post #22


Newbie
*

Group: Members
Posts: 15
Joined: 14-December 20
Member No.: 27,685



All right guys , i will try other way to achieve it most probably changing data on server side. Thank you so much for all the help ,throughout the process.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

2 Pages V < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 29th November 2021 - 01:12 AM