div border-top-width: 2px;
<!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>border-width</title> <style type='text/css'> div { padding: 3px; border-color: khaki; border-style: solid; background: lightyellow; margin: 5px; float: left; width: 50px; height: 50px; } div#properties { border-top-width: 2px; border-right-width: 4px; border-bottom-width: 8px; border-left-width: 10px; } div#four { border-width: 2px 4px 8px 10px; } div#three { border-width: 2px 4px 8px; } div#two { border-width: 8px 4px; } div#one { border-width: 4px; } </style> </head> <body> <div id='properties'></div> <div id='four'></div> <div id='three'></div> <div id='two'></div> <div id='one'></div> </body> </html>