Need some CSS help: I have a URL which I want to split up in segments and every segment should be displayed on a new line BUT the text should copy/paste as a functioning URL (so no line breaks) .segment { display: block} doesn’t work Now what?
So it should display on the wegpage like this: https://some.url/ ?with=parameters &multiple=lines And copy like: https://some.url/?with=parameters&multiple=lines
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Do you want to define where the break points are? Normally, just use word-wrap & overflow-wrap,https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ …
-
I would like to break at specific points, so every variable in the query string is on its own line
- Show replies
New conversation -
-
-
I was very confused why display:block didn't work for you. This seems to do the trick https://jsfiddle.net/f89scwvu/
-
For some reason, display:block inserts spaces when you copy/paste in Safaripic.twitter.com/8a9l2WH3qi
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
at
retweets