Look at the W3C CSS2.1 Default Style Sheet or the CSS2.2 Working Draft. Copy all the settings for PRE and put them into your own class.
pre {
display: block;
unicode-bidi: embed;
font-family: monospace;
white-space: pre;
}
More Related Contents:
- How to collect and manipulate data in HTML using
- Responsively change div size keeping aspect ratio [duplicate]
- SVG drop shadow using css3
- Switching the order of block elements with CSS [duplicate]
- Imitating a blink tag with CSS3 animations
- How can I force a long string without any blank to be wrapped?
- 100% Min Height CSS layout
- Rendering problems using flexbox in Firefox and Chrome 48 [duplicate]
- Equal space between flex items
- How to get a child element to show behind (lower z-index) than its parent?
- What is the performance impact of the universal selector?
- How to wrap text of HTML button with fixed width?
- Place boxes inside ul in center, but align them left
- Image width/height as an attribute or in CSS? [duplicate]
- Aligning decimal points in HTML
- Why is nth-child selector not working?
- What’s default HTML/CSS link color?
- CSS: stretching background image to 100% width and height of screen?
- Can overflow:hidden affect layout?
- How to Animate Gradients using CSS
- Bootstrap navbar: nothing is displayed on smaller devices
- How do I remove background-image in css?
- :before && :after pseudo elements not showing Firefox
- @font-face not working with specific version of Internet Explorer 11
- How to change cursor color without changing text color?
- How to curve the div from bottom with image background
- align images side by side in html
- Removing the Bevel Effect on the Corner of Borders
- CSS class starting with number is not getting applied
- How to set a percentage height value in HTML/CSS