Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/myscript/public_html/classes/classdb.php on line 42 CSS (HTML) Tutorial - Border Properties, setting border using style sheet
This will set the border to any object. a)border : 5px dotted green - The border is set using the tag border. The values or in the order width, style and color of border. This set the border on all the four sides.
NOTE: In the example we have used div tag. But you can use any standard html tags to set the style. Common Border on Three Sides and Different border in one side: In some cases we will have common border for two are three sides and different border in only one side. This can be easily handled as follows