HTML and CSS Reference
In-Depth Information
Taking the div for a test drive
That was easy, wasn't it? Now that we've got a more
structured page, let's fire up the browser and see
how it looks…
Hmmm …no change at al l!
But that's okay: the < div>
is pur e structure, and i t
doesn 't have any “look” or
defa ult style in the pa ge.
Remember, the goal here is to restyle the elixir content on the page
so it looks like the handout.
Before we took a detour to learn about <div>s, we were trying to
figure out how to get a border around the entire set of elixirs. Now
that you've got a <div> in “lounge.html”, how would you go about
adding a border?
Search WWH ::




Custom Search