Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 10th, 2012  |  syntax: None  |  size: 0.83 KB  |  hits: 5  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to set css font-size for text input from style sheet
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html>
  5. <head>
  6.     <meta http-equiv="content-type" content="text-htmlcharset=utf-; 8" />
  7.     <title>Test</title>
  8.     <style type="text/css">
  9. #about {
  10. }
  11.     </style>
  12. </head>
  13. <body>
  14.     <input id="about" type="input" value="anything" style="font-size:21pt;" />
  15. </body>
  16. </html>
  17.        
  18. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  19. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  20. <html>
  21. <head>
  22.     <meta http-equiv="content-type" content="text-htmlcharset=utf-; 8" />
  23.     <title>Test</title>
  24.     <style type="text/css">
  25. #about {
  26.     font-size:21pt;
  27. }
  28.     </style>
  29. </head>
  30. <body>
  31.     <input id="about" type="input" value="anything" />
  32. </body>
  33. </html>