Browse files

changed monospace normalization. fixes #38

  • Loading branch information...
1 parent bd20b78 commit deaa08400f283d024ec83c2c4d76f9476da1e99c @paulirish paulirish committed Aug 13, 2010
Showing with 6 additions and 3 deletions.
  1. +3 −3 css/style.css
  2. +3 −0 demo/elements.html
@@ -71,7 +71,7 @@ fonts.css from the YUI Library:
There are three custom edits:
* remove arial, helvetica from explicit font stack
* make the line-height relative and unit-less
- * remove the pre,code styles as we use a recommendation from Eric Meyer instead
+ * remove the pre, code styles
body { font:13px sans-serif; *font-size:small; *font:x-small; line-height:1.22; }
@@ -81,9 +81,9 @@ select, input, textarea { font:99% sans-serif; }
/* normalize monospace sizing
- *
+ *
-code, pre { font-family: "Courier New", monospace, serif; font-size: 1em; }
+pre, code, kbd, samp { font-family: monospace, sans-serif; }
@@ -270,6 +270,9 @@
I am <u>the u tag</u> example
+ <p>This is a &lt;p&gt; with some <code>code</code> inside.</p>
<h3>What is Lorem Ipsum?</h3>
<p><b>Lorem Ipsum</b> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>

0 comments on commit deaa084

Please sign in to comment.