1 / 56
文档名称:

O'reilly - Head First - Html With Css And Xhtml.pdf

格式:pdf   页数:56
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

O'reilly - Head First - Html With Css And Xhtml.pdf

上传人:kuo08091 2012/12/3 文件大小:0 KB

下载得到文件列表

O'reilly - Head First - Html With Css And Xhtml.pdf

文档介绍

文档介绍:"#SBJO'SJFOEMZ(VJEFUP)5.-$44
XJUI$44
 )5.- 9)5.-
&MJTBCFUI'SFFNBO&SJD'SFFNBO
8 getting started with CSS
Adding a Little Style
Don’t get me wrong, the
hair, the hat, it all looks great.
But don’t you think he’d like it
if you spent a little more time
adding some style to your
XHTML?
I was told there’d be CSS in this book. So far you’ve been
concentrating on learning XHTML to create the structure of your Web pages. But as
you can see, the browser’s idea of style leaves a lot to be desired. Sure, we could
call the fashion police, but we don’t need to. With CSS, you’re going pletely
control the presentation of your pages, often without even changing your XHTML.
Could it really be so easy? Well, you are going to have to learn a new language; after
all, Webville is a bilingual town. After reading this chapter’s guide to learning the
language of CSS, you’re going to be able to stand on eitherr side of Main Street and
hold a conversation.
this is a new chapter 285
Excerpted from the book, "Head First HTML with CSS & XHTML", by Elisabeth and Eric Freeman,
published by O'Reilly Media Inc. ISBN 0-596-10197-X. Copyright 2005. Used by permission.
Remember the Wizard of Oz? Well, this
is the part of the book where things go
from black & white to color.
AW]¼ZMVW\QV3IV[I[IVaUWZM
You’ve been a good sport learning about markup
and structure and validation and proper syntax and
nesting pliance, but now you get to really
start having some fun by styling your pages. But no
worries, all those XHTML pushups you’ve been
doing aren’t going to waste. In fact, you’re going to
see that a solid understanding of XHTML is crucial
to learning (and using) CSS. And, learning CSS is
just what we’re going to do over the next several
chapters.
Just to tease you a bit, on these two pages we’ve
sprinkled a few of the designs you’re going to work
with in the rest of the book. Quite a differ