SitePoint
Reference
CSS
Box Properties
Borders and Outlines
border-top
CSS Live Demo: border-top
(this page)
See also:
All Live Demos
CSS Live Demo: border-top
Type your
CSS
here:
(any properties allowed except expression, behavior and @import)
#example p { border-top:15px dotted #000; } p { border:5px solid red; }
Type your
HTML
here:
(any tags allowed except script, iframe, frame, object, img and embed)
<div id="example"> <p>Now you don't talk so loud. Now you don't seem so proud, about having to be scrounging for your next meal.</p> </div>
Show me!
Your results appear here: