Here is sample HTML code with CSS inside, which I am planning to use as template for future blog posts. This is initial one, and may be enhanced as needed.
<html> <head> <style type="text/css"> pre { white-space: pre-wrap; font-family: Ubuntu Mono, Courier New, monospace; color: #000000; background-color: #dddddd; border-style:dashed; border-width:thin; margin-top:1px;margin-bottom:25px;margin-right:50px;margin-left:25px; } body { font-family: Droid Sans, Verdana, Sans-Serif; color: #000000; background-color: #ffffff; line-height:125% } </style> </head> <body> <p> This is a sample text paragraph 1. </p> <p> This is a sample text paragraph 2. </p> <pre> This is a sample code line 1 This is a sample code line 2 with indentation </pre> <p> This is a sample text paragraph 3. </p> </body> </html>
No comments:
Post a Comment