Home > Store

Sams Teach Yourself Microsoft Expression Web 2 in 24 Hours

Register your product to gain access to bonus material or receive a coupon.

Sams Teach Yourself Microsoft Expression Web 2 in 24 Hours


  • Sorry, this book is no longer in print.
Not for Sale


  • Copyright 2009
  • Dimensions: 7" x 9-1/8"
  • Pages: 480
  • Edition: 1st
  • Book
  • ISBN-10: 0-672-33029-6
  • ISBN-13: 978-0-672-33029-2

In just 24 sessions of one hour or less, you’ll learn how to build flexible, easy-to-maintain, standards-based websites with Microsoft Expression Web 2. Using this book’s straightforward, step-by-step approach, you’ll master the entire process—from concept and design through delivery! Each lesson builds on what you’ve already learned, giving you a strong real-world foundation for success, no matter what kind of site you’re building!

Step-by-step instructions carefully walk you through the most common Expression Web 2 tasks.

Quizzes and Exercises at the end of each chapter help you test your knowledge.

By the Way notes present interesting information related to the discussion.

Did You Know? tips offer advice or show you easier ways to perform tasks.

Watch Out! cautions alert you to possible problems and give you advice on how to avoid them

Learn how to…

·        Build your first Expression website in just five minutes!

·        Import text from Microsoft Word and other software

·        Make the most of Expression Web 2’s advanced image-editing features

·        Create hyperlinks that simplify navigation, perform actions, and send commands

·        Write error-free code quickly and easily with Code View and IntelliSense

·        Use CSS to control your site’s appearance, create standards-based, cross-browser content, and simplify redesigns

·        Design site layouts that communicate more effectively

·        Use Dynamic Web Templates to consistently format (or reformat) hundreds of pages

·        Implement state-of-the-art interactivity with Behaviors

·        Add Silverlight, Flash, and other multimedia content

·        Build a web-based email form with FrontPage Server Extensions and PHP

·        Integrate web application code written in ASP.NET or PHP

Morten Rand-Hendriksen is a web designer, developer, programmer, and digital media expert based in Burnaby, B.C., Canada. He has operated Pink and Yellow Media since 2002, creating web and design solutions for small businesses and individuals. For his work with Expression Web, he was invited as a Canadian VIP to the MIX08 conference in Las Vegas and asked to present on Building Compelling Websites on the Microsoft Platform at Microsoft’s Innovation Briefing. He blogs on Expression Web at http://blog.pinkandyellow.com/.

Category: Web Development

Covers: Microsoft Expression Web 2

User Level: Beginning–Intermediate



Download the project files

Sample Content

Online Sample Chapter

Building a Home Page in Microsoft Expression Web 2—A Look Behind the Curtain

Sample Pages

Download the sample pages

Table of Contents

Introduction      1

Hour 1: Get to Know Microsoft Expression Web 2  3

    Introducing Expression Web 2    3

    Getting and Installing Expression Web 2     5

    Getting Acquainted with the Workspace 6

    Changing and Customizing the Workspace      15

    Summary 20

    Q&A     20

    Workshop      20

    Quiz    21

    Answers 21

Hour 2: Beginning at the End: A Walkthrough of the Finished Project     23

    Introduction  23

    Working With a Completed Website      24

    Previewing the Site in Your Browser   27

    Exploring the Website in Expression Web 2   34

    Keeping Your Pages Functional   36

    Summary 38

    Q&A     38

    Workshop      39

    Exercise      39

Hour 3: A Website Is Really Just Text-Build One in 5 Minutes      41

    Introduction  41

    Creating a New Website    41

    Creating Your First Web Page    44

    Testing Your Web Page in Multiple Browsers  47

    Summary 50

    Q&A     50

    Workshop      51

    Quiz    51

    Answers 51

Hour 4: Building the Home Page-A Look Behind the Curtain    53

    Introduction  53

    Opening and Editing an Existing File Using Code View    53

    Importing Styled Text from a Document 57

    Cleaning Up Imported Text 60

    Summary 63

    Q&A     64

    Workshop      64

    Quiz    65

    Answers 65

    Exercise      65

Hour 5: Get Connected-Building Hyperlinks for Navigation and Further Exploration    67

    Introduction  67

    Importing a New Page      68

    Creating an Internal Hyperlink  69

    Creating External Links and New Windows     73

    Creating Links Within Documents Using Bookmarks   76

    Creating an Email Hyperlink     78

    Summary 79

    Q&A     79

    Workshop      80

    Quiz    80

    Answers 80

    Exercise      81

Hour 6: Get Visual, Part 1: Adding Images to Your Page      83

    Introduction  83

    Images on the Web: Three File Types for Three Uses      84

    Importing and Inserting an Image      85

    Using Picture Properties to Change the Appearance of an Image 89

    Summary 94

    Q&A     94

    Workshop      95

    Quiz    95

    Answers 95

    Exercise      96

Hour 7: Get Visual, Part 2: Advanced Image Editing, Thumbnails, and Hotspots  97

    Introduction  97

    Exploring the Pictures Toolbar  97

    Using the Pictures Toolbar to Add and Change an Image   100

    Creating Hotspots   106

    Summary 107

    Q&A     108

    Workshop      108

    Quiz    109

    Answers 109

    Exercise      109

Hour 8: Cracking the Code-Working in Code View  111

    Introduction  111

    Using Code View as a Learning Tool    111

    Tools in Code View  116

    Summary 121

    Q&A     122

    Workshop      123

    Quiz    123

    Answers 123

    Exercise      124

Hour 9: Get Boxed In, Part 1: Using Tables for Content      125

    Introduction  125

    Five-Minute History of Tables in Web Pages  126

    Creating a Table from Scratch   127

    Changing the Appearance of a Table    129

    Using the Table Layout Tool to Make Nonstandard Tables  138

    Summary 140

    Q&A     140

    Workshop      141

    Quiz    141

    Answers 141

    Exercise      142

Hour 10: Bringing Style to the Substance with Cascading Style Sheets    143

    Introduction  143

    CSS Sans Code 144

    Setting the Font Family for the Entire Document   149

    Using the Cascade to Override Styles  151

    Summary 159

    Q&A     159

    Workshop      160

    Quiz    160

    Answers 160

    Exercise      161

Hour 11: Get Boxed In, Part 2: Knee Deep in CSS 163

    Introduction  163

    CSS Classes-Because Not All Content Should Be Treated Equally 164

    Introducing ID-Classes Almost Identical Twin      169

    Classes Within Classes: Micromanaging the Content 172

    Pseudoclasses 173

    Understanding the Box Model     176

    Summary 179

    Q&A     180

    Workshop      180

    Quiz    180

    Answers 181

    Exercise      181

Hour 12: Styling with Code: Fully Immersed in CSS     183

    Introduction  183

    Introducing CSS: The Code Version     184

    Applying Classes to Tags in Code View 189

    Using Divs and Spans to Separate Content    190

    Creating External Style Sheets  193

    Summary 201

    Q&A     202

    Workshop      202

    Quiz    203

    Answers 203

    Exercise      203

Hour 13: Get Visual, Part 3: Images as Design Elements with CSS   205

    Introduction  205

    Images as Backgrounds: A Crash Course 206

    Using Images as List Bullets    214

    Importing Adobe Photoshop Files 216

    Summary 220

    Q&A     221

    Workshop      221

    Quiz    222

    Answers 222

    Exercise      222

Hour 14: Building the Framework     223

    Introduction  223

    Starting with Pen and Paper     224

    Building the Framework from Boxed Parts     225

    Styling the Layout Boxes  227

    Understanding Positioning 230

    Applying the Framework to Existing Pages    233

    Building the Framework Using Eric MeyerÕs CSS Sculptor  240

    Summary 247

    Q&A     248

    Workshop      249

    Quiz    249

    Answers 250

    Exercise      250

Hour 15: Buttons, Buttons, Buttons  251

    Introduction  251

    Buttons: A Brief Definition     252

    Creating Interactive Buttons Using Expression Web 252

    Creating Buttons from Scratch Using CSS     256

    Summary 264

    Q&A     265

    Workshop      266

    Quiz    266

    Answers 266

    Exercise      266

Hour 16: Using Behaviors      267

    Introduction  267

    Behaviors: An Introduction      267

    Modifying Behaviors 270

    The Many Behaviors of Expression Web 2      272

    Summary 287

    Q&A     287

    Workshop      288

    Quiz    288

    Answers 288

    Exercise      288

Hour 17: Frames and Layers    289

    Introduction  289

    Frames: An Introduction   289

    Editing Individual Frames 293

    Making Framed Navigation  297

    Creating and Modifying Inline Frames  298

    Set Text of Frame Behavior      301

    Creating Advanced Functionality Using Layers      304

    Summary 310

    Q&A     311

    Workshop      312

    Quiz    312

    Answers 312

    Exercise      313

Hour 18: Building a Functional Menu 315

    Introduction  315

    The Layers Based Menu     316

    Pure CSS Drop-Down Menus: A Clean Alternative     324

    Summary 333

    Q&A     334

    Workshop      335

    Quiz    335

    Answers 335

    Exercise      336

Hour 19: Dynamic Web Templates      337

    Introduction  337

    Dynamic Web Templates     338

    Understanding Dynamic Web Templates   345

    Summary 354

    Q&A     355

    Workshop      355

    Quiz    355

    Answers 356

    Exercise      356

Hour 20: Get Interactive with Forms 357

    Introduction  357

    Creating Forms in Expression Web 2    358

    Making Use of Form Results      365

    Other Uses for Form Results     370

    Forms in Code View  371

    Summary 373

    Q&A     374

    Workshop      374

    Quiz    374

    Answers 374

Hour 21: Working with Flash and Silverlight     375

    Introduction  375

    Flash: An Introduction    376

    Adding the <embed> Tag for Full Cross-Browser Compatibility   381

    Silverlight: An Introduction    382

    Placing Silverlight Applications in Your Page     383

    Bonus: Making the Galleries Your Own  390

    Summary 391

    Q&A     392

    Workshop      393

    Quiz    394

    Answers 394

    Exercise      394

Hour 22: Beyond the Basics: PHP in Expression Web 2   395

    Introduction  395

    PHP: An Introduction      396

    Installing PHP on Your Computer to Test PHP Scripts     397

    Using PHP and HTML to Create a Contact Page 400

    Creating an Email Form Using PHP      403

    Added Functionality 409

    Summary 412

    Q&A     413

    Workshop      413

    Quiz    413

    Answers 414

Hour 23: Beyond the Basics, Part 2: Building a Site with ASP.NET  415

    Introduction  415

    Getting a Jump Start by Using a Starter Kit 416

    The ASP.NET Master Page   418

    The Master Page in Code View    421

    ASP.NET Content Pages     423

    Content Pages in Code View      423

    Getting Data from External Sources    426

    Personalizing and Styling an ASP.NET Site   429

    Summary 433

    Q&A     434

    Workshop      434

    Quiz    435

    Answers 435

    Exercise      435

Hour 24: Publishing Your Website    437

    Introduction  437

    A Word on Domains and Web Hosting     438

    Four Different Publishing Options     439

    Example: Publishing Content Using FTP 445

    Advanced Publishing Settings    447

    Summary 451

    Q&A     452

    Workshop      453

    Exercise      453

    Index   455

0672330296, TOC, 9/3/08


Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020