border-top-style: solid; : border top style « CSS « HTML / CSS

HTML / CSS » CSS » border top style 
border-top-style: solid;
   

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
    <head>
        <title>dimensions</title>
<style type='text/css'>
body {
    font: 12px sans-serif;
}
div#border-style-properties {
    border-top-style: solid;
    border-right-style: dashed;
    border-bottom-style: double;
    border-left-style: inset;
}

</style>


    </head>
    <body>
        <div id='border-style-properties'>
            Peter Piper picked a peck of pickled peppers.
            Did Peter Piper pick a peck of pickled peppers?
            If Peter Piper picked a peck of pickled peppers,
            where's the peck of pickled peppers Peter Piper picked?
        </div>

    </body>
</html>

   
    
    
  
Related examples in the same category
1.'border-top-style' Example
2.border-top-style: solid
3.Set border top style to solid
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.