04.06.2013 Views

Head First HTML with CSS

Head First HTML with CSS

Head First HTML with CSS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Look what you’ve accomplished...<br />

Take a look at the elixirs section now. You’ve<br />

completely transformed it, and now it looks<br />

just like the handout. And, other than adding<br />

a and an id attribute to your X<strong>HTML</strong>,<br />

you were able to do this <strong>with</strong> just a few <strong>CSS</strong><br />

rules and properties.<br />

By now, you should be realizing just how<br />

powerful <strong>CSS</strong> is, and how flexible your Web<br />

pages are when you separate your structure<br />

(X<strong>HTML</strong>) from your presentation (<strong>CSS</strong>). You<br />

can give your X<strong>HTML</strong> a whole new look,<br />

simply by changing the <strong>CSS</strong>.<br />

Wow, that’s fantastic!<br />

You were able to make the<br />

elixirs section on the Web site<br />

look like the handout, <strong>with</strong><br />

just a little <strong>CSS</strong>.<br />

Remember, this is how the<br />

elixirs section looked when<br />

we started...<br />

divs and spans<br />

... and here’s<br />

what it looks<br />

like now.<br />

you are here 457

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!