HTML CSS examples for CSS Widget:Border Style
Set CSS border style inside
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .outerDiv{<!--from ww w.j ava 2 s. co m--> background-color: grey; height: 32px; text-align: center; padding: 16px; font-weight: bolder; font-size: 25px; } .innerDiV{ margin: 0 auto; border: 1px solid black; width: 98%; margin-top: 10px; } </style> </head> <body> <div class="outerDiv"> COntent <div class="innerDiV"> </div> <div> </div> </div> </body> </html>