Why did they deprecate the width attribute for preformatted text?

bhanuprasad1981

New Member
The \[code\]width\[/code\] attribute for \[code\]<pre>\[/code\], which defines maximum character length per line, was deprecated in HTML 4.01, and I no longer see it in current draft of HTML5. I couldn't find the reason behind it in the mailing lists of W3C's WG for HTML (maybe I searched wrong), although the specs for 4.01 said it was not supported in all clients.[*]One possible answer: it makes no sense to wrap preformatted texts. Is this true?[*]In case I still want it to wrap after for example 30 characters. Besides scripting, how do I achieve this?
 
Top