go to
ForumEasy.com
Community Sandbox
Home
» Sandbox
Play your own code in the sandbox
Edit Your Code:
<html> <head> <style> /* edit or add your own CSS code here */ /* block-level elements -- overriding */ p { border: 1px solid red; display: inline; } </style> </head> <body> <h2>CSS Block-Level Elements</h2> <p>This the first paragraph.</p> <p>This the second paragraph.</p> <p>This the third paragraph.</p> <div> All block-level elements are now shown in a single line as <b>inline</b> mode -- each takes as much space as necessary. </div> </body> </html>
Run »
Result Output:
Back
Powered by
ForumEasy
© 2003-2005, All Rights Reserved. |
Privacy Policy
|
Terms of Use
Get your own forum today. It's easy and free.