html - If you set a style for a pre or div once, do you need to set again? -
for example, if do:
pre style="white-space:pre-wrap;"
at beginning of first pre block, apply pre blocks? doesn't seem have effect want.
no, if define style directly inside <pre>
tag, applied element.
define css properties in <style>
block, , applied <pre>
elements:
<style> pre { white-space: pre-wrap; } </style>
simply place block inside <head>
of html document.
Comments
Post a Comment