
Educators: Earn a free Gold upgrade by joining the PBwiki Back To School Challenge.
!-- This definition was referenced from http://www.w3schools.com/css/pr_dim_height.asp --!
height allows you to control the height of an element on the screen.
-An example would be setting the height of a div to 230 pixels.
Simply place div { height: 230px; } in the < head > section.
Possible Values
auto: default. the browser calculates the actual height.
length: defines the height in px, cm, etc.
percent: defines the height in % of the containing block.
Example
A second example would be to set the height of a border around an image or text.
-Just like before you would put in the head section the height you want it in units.
Page Information
|
Wiki Information |
Recent PBwiki Blog Posts |