Notes - CSS

CSS font case

December 13, 2010 by Jean

The usual CSS font case modifiers:


And then the one I never remember (hence this note):

{font-variant: small-caps;}

In: CSS 

Comments (0)

CSS to act like pre tag

December 8, 2010 by Jean

CSS code to keep preformatting (acts like <pre> tag):

p {white-space:pre;}

CSS code to remove preformatting (acts like <p> tag):

pre {white-space:normal;}


In: CSS 

Comments (0)