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

PHP forms
HTML Tutorial

CSS Tutorial

CSS width and height - CSS Properties - Dimensions units

The CSS dimensions units provides several css properties such as width, height, max-width, max-height, min-width, min-height that allows you to control the dimension units of a box.

CSS width and height

The height and width properties units are used to set the height and width area of an css element. Height and width CSS can be set up automatically (this is the default). It means that the browser calculates the height and width of element, or it can be specified the length values such as px, cm, etc, or in percent (%) of the block that contains.
This width and height CSS elements does not include paddings, borders and margins. We give you a CSS box model to know how the effective width and height is calculated by the browser.
Note: Auto value allows the browsers to calculate the lengths automatically for the specified element. The percentage (%) value refer to the width or height of the element's containing block. Negative length values are not allowed.

This div-box1 in the example 1 has :
 width: 450px;
    height: 210px;
    border: 1px solid #73AD21;
Example 1:
div-box1
{
width: 450px;
height: 210px;
border: 1px solid #73AD21;
}

CSS width and height, CSS Properties, Dimensions units CSS width and height - CSS Properties - Dimensions units - css tutorial

1925. CSS code, Tags, Example, CSS, Editor, Online Courses, Training
Online CSS Tutorial pdf, what is CSS, Online Courses, Classes, Training, Tutorials for Beginners - agernic.com is a free interactive Code, Tags, Example, CSS, Editor, Online Courses, Training for beginners
http://www.agernic.com/css-tutorial.html

2592. How to include, how to incorporate CSS in HTML, css tutorial
How to include, how to incorporate CSS in HTML css tutorial
http://www.agernic.com/css-tutorial/how-to-include-how-to-incorporate-css-in-html.html

3299. CSS background image size to fit full screen, css tutorial
CSS background image size to fit full screen css tutorial
https://www.agernic.com/css-tutorial/css-background-image-size-to-fit-screen.html

3191. How to include, how to incorporate CSS in HTML, css tutorial
How to include, how to incorporate CSS in HTML css tutorial
https://www.agernic.com/css-tutorial/how-to-include-how-to-incorporate-css-in-html.html

822. CSS selectors - CSS tutorials - w3resource

https://www.w3resource.com/css/selectors/CSS-selectors.php

818. CSS Font Families - CSS tutorials - w3resource

https://www.w3resource.com/css/fonts/font-families.php

Your add here
PHP trim() function

PHP strip_tags() function

PHP rtrim() function

PHP define() function

PHP htmlspecialchars_decode() function

PHP strtoupper() function

PHP print() function

PHP htmlentities() function

PHP count() Function

PHP substr() function

PHP str_replace() function

PHP printf() function

PHP strcmp() function

PHP lcfirst() function

PHP ltrim() function

PHP str_repeat() function

HTML div style - div style class
Login in PHP - simple login script with PHP MYSQL
CSS Text Wrap
CSS rounded corners
Deprecated: mysql_connect() mysql extension is deprecated and will be
PHP convert array to string comma separated