HTML CSS examples for CSS Property:border-right
Set border-left and border-right
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #myDiv<!--from w w w . j a va 2 s . c o m--> { width: 100px; height: 100px; border: 1px solid #999; border-width: 0 1px; /*horizontal, vertical*/ } </style> </head> <body> <div id="myDiv"></div> </body> </html>