HTML CSS examples for CSS Widget:Border Style
remove space between border and list with HTML/CSS
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> ul {<!-- w w w . jav a2 s . com--> display: inline-block; border: 5px solid red; padding: 1px; -webkit-padding-start: 0px; -moz-padding-start: 0px; padding-start: 0px; } </style> </head> <body> <ul> <li>About</li> <li>Table</li> <li>Matterhorn</li> <li>test</li> <li>Abc</li> </ul> </body> </html>