HTML CSS examples for CSS Widget:Border Style
give border a title with text in the middle
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> fieldset {<!-- w w w . j av a2 s . co m--> border : none; border-top : 1px solid #000; } </style> </head> <body> <fieldset> <legend>Title</legend> Here is some demo content </fieldset> </body> </html>