15
Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert W. Sebesta

Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

Embed Size (px)

Citation preview

Page 1: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Chapter 3:Cascading Style Sheets

Programming the World Wide Web 2009Fifth Edition

by Robert W. Sebesta

Page 2: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

2-2

1-2

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Table 3.1 Generic fonts

Page 3: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

2-3

1-3

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Figure 3.1 Display of fonts.html

Page 4: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

2-4

1-4

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Figure 3.2 Display of decoration.html

Page 5: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

2-5

1-5

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Figure 3.3 Examples of unordered lists

Page 6: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

2-6

1-6

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Table 3.2 Possible sequencing values for ordered lists

Page 7: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

2-7

1-7

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Figure 3.4 Display of sequence_types.html

Page 8: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

2-8

1-8

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Table 3.3 Named colors

Page 9: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

2-9

1-9

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Figure 3.5 The background-color property

Page 10: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

2-10

1-10

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Figure 3.6 Display of float.html

Page 11: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

2-11

1-11

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Figure 3.7 The box model

Page 12: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

2-12

1-12

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Figure 3.8 Borders

Page 13: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

2-13

1-13

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Figure 3.9 Display of marpads.html

Page 14: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

2-14

1-14

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Figure 3.10 Display of back_image.html

Page 15: Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 3: Cascading Style Sheets Programming the World Wide Web 2009 Fifth Edition by Robert

2-15

1-15

Copyright © 2010 Pearson Addison-Wesley. All rights reserved.

Figure 3.11 The <span> tag