Chapter 3 How to use HTML5 and CSS3 with ASP.NET applications

Similar documents
Getting Started with Access

CST272 Getting Started Page 1

HTML, XHTML, and CSS 8/21/2011. Chapter Objectives. Chapter 4. Chapter Objectives. Chapter Objectives

Create the Left Navigation SSI Quick Guide

Nauticom NetEditor: A How-to Guide

Dreamweaver Basics Outline

Dreamweaver MX The Basics

Call: SharePoint 2013 Course Content:35-40hours Course Outline

The Photo Gallery. Adding a Photo Gallery Page. Adding a Photo Gallery App

A Guide to Quark Author Web Edition 2015

Coding Faster: Getting More Productive with Microsoft Visual

Chapter 2 How to develop a one-page web application

FrontPage 2000 Tutorial -- Advanced

A Guide to Quark Author Web Edition October 2017 Update

Microsoft Office Suite

SIP User's Guide. Sitecore Intranet Portal. A Quick Guide to Using SIP. SIP User's Guide Rev:

Using Dreamweaver. 6 Styles in Websites. 1. Linked or Imported Stylesheets. 2. Embedded Styles. 3. Inline Styles

Microsoft Office Outlook 2007: Intermediate Course 01 Customizing Outlook

Creating a Website in Schoolwires Technology Integration Center

Acrobat 6.0 Standard - Basic Tasks

23 - Report & Export

Section 1. How to use Brackets to develop JavaScript applications

Word Getting Started The Word Window u vw. Microsoft QUICK Source. Creating a New Blank Document. Creating a New Document from a Template

InSite Prepress Portal Quick Start Guide IPP 8.0

COPYRIGHTED MATERIAL. Contents. Chapter 1: Introducing Microsoft Expression Web 1. Chapter 2: Building a Web Page 21. Acknowledgments Introduction

DataPro Quick Start Guide

Table Basics. The structure of an table

1. Move your mouse to the location you wish text to appear in the document. 2. Click the mouse. The insertion point appears.

Creating a Website in Schoolwires

Word Tips & Tricks. Status Bar. Add item to Status Bar To add an itme to the status bar, click on the item and a checkmark will display.

Dreamweaver CS6. Table of Contents. Setting up a site in Dreamweaver! 2. Templates! 3. Using a Template! 3. Save the template! 4. Views!

Information Technologies University of Delaware

How to Create Chapter Headings in a Microsoft Word 2007Document

Bridge Course Information and Communication Technology

CUSTOMER PORTAL. Custom HTML splashpage Guide

Version 7.0. End-user manual. Last revision: February 13,

Virto SharePoint Forms Designer for Office 365. Installation and User Guide

Broken Pages. Overview

Excel 2007 New Features Table of Contents

Creating Web Pages with SeaMonkey Composer

Macromedia RoboHelp Course Outline

How to use CSS text styles

How to create and edit a CSS rule

2 Document Manager Lite v5.2 User Guide

Dreamweaver Basics. Planning your website Organize site structure Plan site design & navigation Gather your assets

JSN PageBuilder 3 Configuration Manual Introduction

Code Editor. The Code Editor is made up of the following areas: Toolbar. Editable Area Output Panel Status Bar Outline. Toolbar

Getting Started with Universal

FirmSite Control. Tutorial

Figure 1 Forms category in the Insert panel. You set up a form by inserting it and configuring options through the Properties panel.

Overview NOTE: Listing Overview. User Profile. Language Selection. Asset(s) View. Asset(s) Details. Editing Mode

A Guide to Quark Author Web Edition September 2016 Update

CUSTOMISE FIELDS AND LAYOUTS 2010

How to Edit Your Website

USER GUIDE. MADCAP FLARE 2017 r3. QR Codes

Objective % Select and utilize tools to design and develop websites.

Creating and Managing Snippets

Modern Requirements4TFS 2018 Release Notes

Introduction to Word 2010

2. create the workbook file

Upload Materials to Your Dossier Account

Introduction. Using Indents and Tab Stops. Google Documents Using Indents, Tabs, and Lists. Indenting Text. Page 1

1. AUTO CORRECT. To auto correct a text in MS Word the text manipulation includes following step.

To Create Multiple Columns in a Word Document

END USER DOCUMENTATION

VERSION JANUARY 19, 2015 TEST STUDIO QUICK-START GUIDE STANDALONE & VISUAL STUDIO PLUG-IN TELERIK A PROGRESS COMPANY

Changing Button Images in Microsoft Office

User Guide Zend Studio for Eclipse V6.1

Dreamweaver Basics Workshop

Accelerated Technology Training Workshops. Using Microsoft FrontPage to Create Web Sites ENGL 1423.B2 Dr. Richard Cunningham

Exploring SharePoint Designer

What's New in Sitecore CMS 6.4

Microsoft Powerpoint 2007

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10

Forms/Distribution Acrobat X Professional. Using the Forms Wizard

Collection Information Menu. Navigation, pages, and related-links quickstart guide

ESRI stylesheet selects a subset of the entire body of the metadata and presents it as if it was in a tabbed dialog.

Word Select New in the left pane. 3. Select Blank document in the Available Templates pane. 4. Click the Create button.

PowerPoint Multiple OUTPUT types Paper Onscreen Web presentation 6 x 6 rule 6 points 6 words

P3e REPORT WRITER CREATING A BLANK REPORT

Microsoft FrontPage. An Introduction to. Lecture No.1. Date: April Instructor: Mr. Mustafa Babagil. Prepared By: Nima Hashemian

Lesson 1 using Dreamweaver CS3. To get started on your web page select the link below and copy (Save Picture As) the images to your image folder.

Creating a Web Presentation

Evoq 8 Content Managers Training Manual

Web design and content management from Microsoft FrontPage allows you to create, design, modify, and update your own website without learning any

Oracle SQL. murach s. and PL/SQL TRAINING & REFERENCE. (Chapter 2)

Adding Text and Images. IMCOM Enterprise Web CMS Tutorial 1 Version 2

Index. Business Connectivity Services (BCS), 325 features by version, terminology, 325

Integrating Word, Excel, Access, and PowerPoint

Word Tutorial 3. Creating a Multiple- Page Report COMPREHENSIVE

Adobe Dreamweaver CS6 Digital Classroom

integrated translation environment How to translate in memoqwebtrans

How to use the Assets panel

OrgPublisher Photos, Logos, and Legends

C1 CMS User Guide Orckestra, Europe Nygårdsvej 16 DK-2100 Copenhagen Phone

Café Soylent Green Chapters 4

Figure 1 Properties panel, HTML mode

Computer Nashua Public Library Introduction to Microsoft Word 2010

Table of Contents Chapter 9. Working with Cascading Style Sheets ... 1

What s New in Cognos. Cognos Analytics Participant s Guide

Transcription:

Chapter 3 How to use HTML5 and CSS3 with ASP.NET applications Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 1

IntelliSense as an HTML element is entered in Source view IntelliSense options including snippets are displayed as you start a tag Press the Tab key twice to enter the snippet for the tag Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 2

The smart indent feature If you press the Enter key when the cursor is in the content area......the ending tag is dropped down two lines with the cursor where you want it Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 3

Other Video Studio features for entering HTML If you change the starting tag for an element, the ending tag will be automatically changed too. If you enter the opening tag followed by the letters that are capitalized in the name of a control, like <cb for the asp:checkbox control, IntelliSense will list the control. When you start the entry of an attribute, IntelliSense lists the attributes that apply to the HTML element. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 4

Types of disabilities Visual Hearing Motor Cognitive Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 5

IntelliSense with a list of WAI-ARIA values IntelliSense with a list of ARIA attributes Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 6

An external style sheet in Visual Studio Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 7

How to create an external style sheet Right-click on the project in the Solution Explorer. Then, choose the Add Style Sheet command, type the name for the new style sheet, and click OK. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 8

How to enter and edit the styles for an external style sheet Open the style sheet in the Editor, and enter the styles into the style sheet. If necessary, modify the aspx code so it provides the ids and class names that you need for the selectors in the style sheet. After you enter a rule set or a series of rule sets, switch to Design view to see whether the styles are working the way you want them to. Or, test the form in a browser. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 9

How to comment out and uncomment CSS rules Press Ctrl+K, Ctrl+C to comment out selected rules, or Ctrl+K, Ctrl+U to uncomment them. Or, click the Comment or Uncomment button in the Style Sheet toolbar. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 10

How to use the CSS Outline window Use the VIEW Other Windows Document Outline command to open this window. Then, to navigate to a rule set in the style sheet, click on its selector in this window. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 11

The New Style dialog box Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 12

How to create a new style From Design view, open the New Style dialog box by choosing the FORMAT New Style command or by selecting Apply New Style from the Target Rule drop-down list in the Formatting toolbar. In the New Style dialog box, enter or select the Selector for the style, select Existing Style Sheet from the Define In list, and use the Browse button for the URL entry to find the style sheet you want the new style to be placed in. To specify the rules for the style, select a Category and set the values for the properties in that category. Continue with any of the other categories. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 13

How to modify a style In the Editor for a style sheet, right-click in a style and select Build Style or click on the Build Style button in the Style Sheet toolbar. In the Modify Style dialog box, select a category and set or reset the values for the properties in that category. Continue with any of the other categories. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 14

The Apply Styles window Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 15

How to display the Apply Styles window In any of the Designer views, use the VIEW Apply Styles command. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 16

How to use the Apply Styles window To view the properties for a style, just point to the style in the Apply Styles window. To apply a class style to one or more elements, select the elements and click on the style in the Apply Styles window. That adds the appropriate class attribute to the HTML for the elements. To apply one or more class styles to a single element, select the element, hold down the Ctrl key, and click on the styles that you want to apply in the Apply Styles window. Repeat this process to remove one or more classes from an element. To start a new style, click the New Style button in the Apply Styles toolbar. Or, select any style and choose New Style from its drop-down list. To modify an existing style, select it and choose Modify Style from its drop-down list. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 17

How to use the Apply Styles window (cont.) To delete a style, select it and choose Delete Style from its dropdown list. To remove all class and inline styles for selected elements, click Clear Styles. This removes the class and style attributes from the elements. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 18

The CSS Properties window Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 19

How to display the CSS Properties window In any of the Designer views, use the VIEW CSS Properties command. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 20

How to use the CSS Properties window To review the properties for an element, select it and click the Summary button. Then, the Applied Rules pane shows all of the rule sets that have been applied to the element, and the CSS Properties pane shows all of the rules that have been applied. If a rule has been overridden, it is crossed out in the CSS Properties pane. To modify the styles for an element in the Designer, select it. Or, to modify the styles for an existing rule set, select it in the Applied Rules pane. Then, in the CSS Properties pane, click on a property and change the value in the column to the right of it. To sort the properties by category, alphabetically, or by the properties that have been applied, use the buttons in the toolbar for this window. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 21

The Manage Styles window Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 22

How to display the Manage Styles window In any of the Designer views, use the VIEW Manage Styles command. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 23

How to use the Manage Styles window To move a style from one style sheet to another, drag and drop it on the style sheet name or Current Page. To change the order of the styles in the style sheet, select Categorize by Order from the drop-down Options list in the Manage Styles toolbar. Then, drag and drop a style in its new location. To display the properties of a style in the Manage Styles window, point to it. To show the preview for a style, select it in the Manage Styles window. If the preview isn t displayed, select Display Selected Style Preview from the drop-down Options list. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 24

Extra 3-1 Use CSS to format the Quotation app Start by using the CSS file for the Future Value application to format this form. Use the rule sets for the entry, validator, and button classes to format the text boxes, validators, and button. Add a rule set for a result class that formats the results in the two label controls. Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 25

Assignment 3-1 Design the asp.net app as show below Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 26