Posted 29 November 2012 - 06:33 PM
I am on Chapter 9 and working on the max-width and min-width exercise where you add the lounge-mobile.css stylesheet. I cannot get it to work when I reduce my browser size. I also tried it in Dreamweaver to see if it was just my browser, but it didn't work there either. Did I do something wrong in my code?
Here is my HTML code:
<title>Head First Lounge</title>
<link type="text/css" rel="stylesheet" href="lounge.css">
<link type="text/css" href="lounge-print.css"
<link type="text/css" rel="stylesheet" href="lounge.css"
media="screen and (min-width: 481px)">
<link type="text/css" rel="stylesheet" href="lounge-mobile.css"
media="screen and (max-width: 480px)">
<p><img src="images/logo.gif" alt="Head First Lounge"></p>
<h1>Welcome to the Head First Lounge</h1>
The Head First Lounge is, no doubt, the biggest trendsetter in Webville.
Stop in to sample the eclectic offering of elixirs, teas, and coffees,
or, stay a bit longer and enjoy the multicultural culinary menu that
combines a harmony of taste, texture, and color with the best in fresh
and healthy ingredients.
During your stay at the lounge, you'll enjoy a smooth mixture of
ambient and mystic sounds, filling the lounge and adding an extra dimension
to your dining experience. The decor surrounds you with the relaxing sentiments
of sights from eras past. And, don't forget, the lounge offers free wireless
access to the Internet, so bring your laptop.
Our guarantee: at the lounge, we're committed to providing you,
our guest, with an exceptional experience every time you visit.
Whether you're just stopping by to check in on email over an
elixir, or are here for an out-of-the-ordinary dinner, you'll
find our knowledgeable service staff pay attention to every detail.
If you're not fully satisfied, have a Blueberry Bliss Elixir on us.
But that's not all; at night, join us in the backroom as our resident
DJ spins a choice selection of trance and drum&bass beats across
our spacious tiki-themed dance floor. Or just hang out in one of our
comfy white vinyl booths at the dance bar. You can have your elixirs
delivered from the main lounge right to the dance floor. If you've
had enough of the beat, just head back to the lounge area to relax.
And, no matter where you find yourself in the lounge, you'll always be
connected with our wireless Internet access.
Now that you've experienced the lounge <em>virtually</em>, isn't
it time to check us out <em>for real</em>? We're located right
in the heart of Webville, and we've created some
title="Detailed Directions to the Lounge">detailed directions</a>
to get you here in record time. No reservations necessary;
come and join us anytime.
<h2>Weekly Elixir Specials</h2>
<img src="images/yellow.gif" alt="Lemon Breeze Elixir">
The ultimate healthy drink, this elixir combines
herbal botanicals, minerals, and vitamins with
a twist of lemon into a smooth citrus wonder
that will keep your immune system going all
day and all night.
<img src="images/chai.gif" alt="Chai Chiller Elixir">
Not your traditional chai, this elixir mixes maté
with chai spices and adds an extra chocolate kick for
a caffeinated taste sensation on ice.
<img src="images/black.gif" alt="Black Brain Brew Elixir">
<h3>Black Brain Brew</h3>
Want to boost your memory? Try our Black Brain Brew
elixir, made with black oolong tea and just a touch
of espresso. Your brain will thank you for the boost.
Join us any evening for these and all our
title="Head First Lounge Elixirs">elixirs</a>.
<h2>What's playing at the Lounge</h2>
We're frequently asked about the music we play at the lounge, and no wonder,
it's great stuff. Just for you, we keep a list here on the site, updated weekly.
<li>Buddha Bar, Claude Challe</li>
<li>When It Falls, Zero 7</li>
<li>Earth 7, L.T.J. Bukem</li>
<li>Le Roi Est Mort, Vive Le Roi!, Enigma</li>
<li>Music for Airports, Brian Eno</li>
© 2012, Head First Lounge<br>
All trademarks and registered trademarks appearing on this site are
the property of their respective owners.