HTML and CSS Reference
In-Depth Information
Below are the properties that
F2fw
gives to a
#logo
and how it can help you to add a logo easily.
#logo {
float:left;
}
#logo h3 {
line-height:54px;
font-size:25px;
margin:0;
}
#logo h3.incl a {
background:url(../images/logo.png)
no-repeat 0 0;
text-indent:-9999px;
display:block;
line-height:0;
}
#logo
Positions #logo on the left
(
(float:left;).
).
Adds a basic styling for an
inner
h3
, if any.
Includes the logo using a
“
incl
” class if applied to
the
h3
tag.
It automatically loads any
logo.png
from the
/images
folder. You just need to set the size of the logo.