Struggling for Competence

CSS Block verses Inline

All elements in CSS have one of three display types. The characteristics of these types are:

Each HTML tag has a natural display type, which can be overridden with the CSS display property.

Display types for common Html tags
BlockInlineNone
<div><span><meta>
<h1>...<h6><a><style>
<p><b>,<strong>
<ul>,<ol>,<dl><img/>
<li>,<dt>,<dd><br/>
<table>,<tr><em>,<i>
<blockquote><input>
<pre><addr>,<acronym>
<form>,<fieldset><sub>,<sup>
<label>

The difference between display:none and visibility:hidden, is that a display:none element takes up no space on the page, whereas an visibility:hidden element still uses space - you just can't see it.