HTML and CSS Reference
In-Depth Information
6.
Open
layout.css
and add formatting for text in the navigation
bar:
.
navbar {color:ffffff; font-
family:arial,helvetica,sans serif; font-
size:12pt}
Tip:
Make sure a period (
.
) precedes the word
navbar
.
7.
Open
advlayout.html
and add the
navbar
class to the
paragraphs:
<p
class=”navbar”
>Cell Phones</p>
8.
Add the
align=”center”
attribute to the
<p>
tags:
<p
align=”center”
class=”navbar”>