HOME | PHP Tutorial | CSS
facebook icon
AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP
HTML Tutorial

CSS Tutorial

CSS Border Style

Css border is a border around the content.
In CSS Style border we have three properties of a border you can change:
The border-color: specifies the color of a border.
The border-style: specifies whether a border should be solid, dashed line, double line, or one of the other possible values.
The border-width: specifies the width of a border.
The CSS edges will be staged with the border-style attribute helper with the following values:
- none
- solid
- dotted
- dashed
- double
- groove
- ridge
- inset
- outset
The border-style property can have from one to four values (for the top border, right border, bottom border, and the left border).

CSS - Border Width

The thickness boder in CSS is determined by the width-border attribute. This attribute will not work unless the border style attribute is specified in advance. We will use pixel measurement units or we can put the thin, medium or thick values.


Example:

div_example {
  border-style: solid;
  border-width: 5px;
}

.div_example-two {
  border-style: solid;
  border-width: medium;
}

.div_example-three {
  border-style: solid;
  border-width: 2px 10px 4px 20px;
}

CSS Border Color

The color of the borders will be specified by the border-color attribute in the hexadecimal system, RGB, or simply by naming the colors. Note that it can be established that the border is transparent when needed.
The color can be set by:
name - specify a color name, like "red"
Hex - specify a hex value, like "#ff0000"
RGB - specify a RGB value, like "rgb(255,0,0)"
transparent Example:

div_example {
  border-style: solid;
  border-color: red;
}

div_example-two {
  border-style: solid;
  border-color: green;
}

div_example-three {
  border-style: solid;
  border-color: red green blue yellow;
}

CSS Border - Individual Sides

In CSS, there are properties for specifying each of the borders as: top, right, bottom, and left and it is possible to specify a different border for each side
Example:

div_example {
border-top-style: dashed;
border-right-style: dotted;
border-bottom-style: solid;
border-left-style: double;
}

CSS Border Style, CSS - Border Width, CSS Border Color, CSS Border - Individual Sides CSS Border Style Width and Color - css tutorial

2607. The Complete CSS tutorial
The Complete CSS tutorial
http://www.echoecho.com/css.htm

2706. CSS Links - CSS tutorial
EchoEcho.Com : The complete CSS tutorial
http://www.echoecho.com/csslinks.htm

3182. CSS Border Style Width and Color, css tutorial
CSS Border Style Width and Color css tutorial
https://www.agernic.com/css-tutorial/css-border-style-width-and-color.html

3301. CSS font color, css tutorial
CSS font color css tutorial
https://www.agernic.com/css-tutorial/css-font-color.html

3013. CSS Text Style - Text Font Size - Text Align, css tutorial
CSS Text Style - Text Font Size - Text Align css tutorial
http://www.agernic.com/css-tutorial/css-text-style-font-size-and-text-align.html

2697. EchoEcho.Com - Web Hosting - JavaScript Tutorial - HTML tutorial - CSS Tutorial - Flash Tutorial - Online for free!
Web hosting and tutorials for html javascript css flash. Online web master forum design articles, graphics, tools, tricks and much more
http://www.echoecho.com/

Your add here
How to get PHP errors to display?
How to prevent sql injection in php mysqli
How do I get PHP errors to display - PHP error_reporting()
mysql_query(): The mysql extension is deprecated and will be removed i
Function eregi_replace() is deprecated in php - How to fix
PHP delete an element from an array
Uncaught Error: Call to undefined function MYSQL_NUM_ROWS() in
Deprecated: mysql_connect() mysql extension is deprecated and will be
mysqli_fetch_array() expects parameter 1 to be mysqli_result boolean g
SQL IN Operator - example
SQL BETWEEN Operator
SQL like syntax and example
SQL WHERE AND & OR multiple conditions
SQL create table primary key autoincrement
PHP mysqli_connect () Function
SQL COUNT(), AVG() and SUM() Functions
Display data from SQL database with MySQLi into php - html table
SQL CREATE DATABASE - example
SQL mysql order by columns, by date, by asc, by desc, random with PHP
PHP mysqli_query() Function - mysqli query
SQL delete row - SQL delete table
SQL update - SQL update select
Insert into SQL - Insert into table SQL - Insert data in sql
Login in PHP - simple login script with PHP MYSQL