CSS provides a variety of ways for specifying borders.
<!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</title>
<style rel='stylesheet' type='text/css'>
body {
font: 12px sans-serif;
}
div#border-style-properties {
border-top-style: solid;
border-right-style: dashed;
border-bottom-style: double;
border-left-style: inset;
}
</style>
</head>
<body>
<div id='border-style-properties'>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
</div>
</body>
</html>
Related examples in the same category