|
|
 |
Hiding Hands-on Exercises
- Open existing page template
- Create a
titlebar style
#titlebar {
width: 612px;
height: 40px;
background-image: url(titlebar.gif) no-repeat scroll;
}
- Delete the page header graphic
- Set the attribute on the <td> tag where the graphic used to be as
id="titlebar"
- Type in "Department of History" into the <td> you just named titlebar. You'll notice the text you type appears over top the graphic. This is expected and is not the way it looks when viewed in the browser.
- Create a style for <h1> headers inside titlebar to hide the text
#titlebar h1 {
display: none;
}
- Set the text you typed in step 5 to be <h1>
- Save and preview in browser
- Shift + F12 to preview in Firefox. Control + Shift + S to toggle off the style sheet in Firefox.
|