css - breaking long line in HTML source without line breaks appearing on page -



css - breaking long line in HTML source without line breaks appearing on page -

i have bunch of code looks this:

<textarea class="normalpara" rows="auto" cols="80" wrap="hard" disabled> abcdefg ojisslk myfadeww klkkso mnbuyt ioa[q opllisddfl kemcjdosidns okk aswooerkccls jjepo zevert plice jkeuiic heynmbb llloe </textarea>

for purposes of readability , neatness, indent long string , have appear in source this:

<textarea class="normalpara" rows="auto" cols="80" wrap="hard" disabled> abcdefg ojisslk myfadeww klkkso mnbuyt ioa[q opllisddfl kemcjdosidns okk aswooerkccls jjepo zevert plice jkeuiic heynmbb llloe </textarea>

the problem wherever set cr or indent line in source, line break / indent faithfully reproduced in page, wrapping in textarea narrower source lines looks wonky.

i know there way this, , suspect i'll sense dumb when points me @ it, can't find technique after searching it, think i'm not searching right terms...

that's how textarea works. type get. sadly, isn't place readable. you'll have live having code uglier there.

like <pre>, line breaks , spaces preserved.

also, shouldn't care how end source looks like, in fact, end source, 1 presented client should gzipped , minified conserve bandwidth much possible.

what should concerned development source. source develop continuously.

html css

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -