Two typefaces with different x-heights shown at the same font-size
|
|
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Two typefaces with different x-heights shown at the same font-size</title> <style type="text/css"> body { font-size: 12px; } p { margin: 0; width: 35em; font: 1em/1.5 serif; } .two { font-family: Georgia, serif; } .one { font-family: Times, serif; }
</style> </head> <body> <p><span class="one">Times</span> <span class="two">Georgia</span></p> <p class="one"><strong>Times:</strong> after</p> <p class="two"><strong>Georgia:</strong> after</p> </body> </html>
|
|
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|