Set the style for the scroll bar of a text area : scrollbar « Form « HTML / CSS






Set the style for the scroll bar of a text area

 

<!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">
<head>

  <title></title>
<style type="text/css">
.highlight {
 scrollbar-face-color: #99ccff;
 scrollbar-shadow-color: #ccccff;
 scrollbar-highlight-color: #ccccff;
 scrollbar-3dlight-color: #99ccff;
 scrollbar-darkshadow-color: #ccccff;
 scrollbar-track-color: #ccccff;
 scrollbar-arrow-color: #000033;
}
</style>
</head>

<body>

  <form>
   <textarea class="highlight"></textarea>
  </form>


</body>
</html>

 








Related examples in the same category