CSS 2 - Border-top

 

[ A ]  [ B ]  [ C ]  [ D ]  [ E ]  [ F ]  [ H ]  [ L ]  [ M ]  [ O ]  [ P ]  [ Q ]  [ R ]  [ S ]  [ T ]  [ V ]  [ W ]  [ Z ]

border-top

    

Wartości:

  • border-top-width - szerokość obramowania;
  • border-top-style - definicja stylu obramowania;
  • border-top-color - definicja koloru obramowania;
  • inherit - przejęcie wartości "rodzica".

 

Zastosowanie.

Przykład:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
   <meta http-equiv="content-type"   content="text/html; charset=iso-8859-2">
   <title>Pierwszy dokument</title>
   <style type="text/css">
      TABLE {border-bottom:5px dashed red;border-left:5px dotted blue;
      border-right:5px dotted blue;border-top:5px dashed red;}
   </style>
</head>
<body>
   <table border="1" width="100%">
      <tr>
         <td width="50%">Komórka 1</td>
         <td width="50%">Komórka 2</td>
      </tr>
      <tr>
         <td width="50%">Komórka 3</td>
         <td width="50%">Komórka 4</td>
      </tr>
   </table>
</body>
</html>

[testuj]

 

[ A ]  [ B ]  [ C ]  [ D ]  [ E ]  [ F ]  [ H ]  [ L ]  [ M ]  [ O ]  [ P ]  [ Q ]  [ R ]  [ S ]  [ T ]  [ V ]  [ W ]  [ Z ]