Each side of the border can be handled separately using the these tags. |
Usage: |
border-top: <border-top-width> || <border-style> || <border-color> ; |
border-left: <border-left-width> || <border-style> || <border-color> ; |
border-bottom: <border-bottom-width>|| <border-style> || <border-color> ; |
border-right: <border-right-width> || <border-style> || <border-color> ; |
Each side of the border can be handled separately using this tags. Border sides takes the following values. |
|
Example: |
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”> <HTML> <HEAD> <TITLE>Border Example</TITLE> <style> .border1 { border-top : 2px dotted red ; border-left : 2pt dashed rgb(100,100,100); border-bottom: 5px ridge brown; border-right: 5px groove #733366; } </style> <BODY> </HTML> |