Themes and Master Pages

Similar documents
Editing your SiteAssist Professional Template

VB.NET Web : Phone : INTRODUCTION TO NET FRAME WORK

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

Designing the Home Page and Creating Additional Pages

CHAPTER 1: GETTING STARTED WITH ASP.NET 4 1

DOT NET Syllabus (6 Months)

Unit-4 Working with Master page and Themes

Microsoft ASP.NET Using Visual Basic 2008: Volume 1 Table of Contents

Beginning ASP.NET. 4.5 in C# Matthew MacDonald

182 Introduction to Microsoft Visual InterDev 6 Chapter 7

E-Commerce: Theming your site Best practices and tips on theming E-Commerce Intermediate. Mike Poling & Erin Gannon

Chapter 11 Formatting a Long Document

Chapter 6. Rich Page Composition... 1 Working with Master Pages... 2 Working with Themes Working with Wizards Conclusion...

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

10267A CS: Developing Web Applications Using Microsoft Visual Studio 2010

Page 1. Peers Technologies Pvt. Ltd. Course Brochure. Share Point 2007

How to Control and Override CSS by Including a CSS Link

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

Web Design, 5 th Edition

How to lay out a web page with CSS

Lecture 13. Page Layout. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

Getting Started with CSS Sculptor 3

Contact: Systems Alliance, Inc. Executive Plaza III McCormick Road, Suite 1203 Hunt Valley, Maryland Phone: / 877.

Understanding Page Template Components. Brandon Scheirman Instructional Designer, OmniUpdate

Rich Web UI made simple Building Data Dashboards without Code

Chapter 9. Web Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

HTML5 & CSS 8 th Edition. Chapter 2 Building a Webpage Template with HTML5

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 2

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

Exam Name: MOS: Microsoft Office Word 2010

1.1 Customize the Layout and Appearance of a Web Page. 1.2 Understand ASP.NET Intrinsic Objects. 1.3 Understand State Information in Web Applications

SiteAssist Professional Help Documentation. Copyright 2008 WebAssist.com Corporation All rights reserved.

A Closer Look at XPages in IBM Lotus Domino Designer 8.5 Ray Chan Advisory I/T Specialist Lotus, IBM Software Group

NOTE: For this tutorial you will need Internet Explorer Click Site, then New Site, go to the Templates tab. Fig. 1.0

Professor: Angela Hicks

Layout with Layers and CSS

Building Web Sites Using the EPiServer Content Framework

Question No: 2 Which part of the structured FrameMaker application controls how long SGML and FrameMaker element names can be by default?

Bluehost and WordPress

Microsoft SharePoint Designer 2010

Websites WHAT YOU WILL LEARN IN THIS CHAPTER: WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

The safer, easier way to help you pass any IT exams. Exam : Word Title : Version : Demo 1 / 8

CH4: Construc-ng ASP.NET Web Pages Part 2 BUILD YOUR OWN ASP.NET 4 WEB SITE USING C# & VB

Developing Web Applications Using ASP.NET Duration:56 Hours

DIVI PERSON MODULE TEMPLATE 15

Creating your first website Part 4: Formatting your page with CSS

Digication eportfolio Student s Guide (Last update: 8/2017)

Dreamweaver Domain 5: Organizing Content by Using Dreamweaver CS5

Overview. Principal Product Manager Oracle JDeveloper & Oracle ADF

Forerunner Mobilizer Dashboards

Microsoft Expression Web Quickstart Guide

Cascading Style Sheets for layout II CS7026

Architectural Engineering Senior Thesis CPEP Webpage Guidelines and Instructions

Table Basics. The structure of an table

28 JANUARY, Updating appearances. WordPress. Kristine Aa. Kristoffersen, based on slides by Tuva Solstad and Anne Tjørhom Frick

CST272 Getting Started Page 1

PHP WITH ANGULAR CURRICULUM. What you will Be Able to Achieve During This Course

Using CSS in Web Site Design

IBM Forms V8.0 Custom Themes IBM Corporation

PRO: Designing and Developing Microsoft SharePoint 2010 Applications

Quick Start Guide. This guide will help you get started with Kentico CMS for ASP.NET. It answers these questions:

ADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model)

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.)

Copyright. Restricted Rights Legend. Trademarks or Service Marks. Copyright 2003 BEA Systems, Inc. All Rights Reserved.

Responsive SharePoint WSP Edition

Taking Fireworks Template and Applying it to Dreamweaver

Introduction to web development and HTML MGMT 230 LAB

MRK260. Week Two. Graphic and Web Design

Kyle #HubSpotting

SharePoint Designer Customizing and Branding SharePoint 2010 and Office 365

This tutorial starts by highlighting the benefits of nested master pages. It then shows how to create and use nested master pages.

PrepAwayExam. High-efficient Exam Materials are the best high pass-rate Exam Dumps

CWCM Webmaster Training. Denis Bacquelaine, Technical Consultant I.R.I.S. Solutions & Experts S.A.

Using Dreamweaver CS6

Static Webpage Development

GRAPHIC WEB DESIGNER PROGRAM

Client Configuration Cookbook

Dreamweaver MX The Basics

SelectSurvey.NET Developers Manual

Accessibility of EPiServer s Sample Templates

IEEE Wordpress Theme Documentation

Exam Name: MOS: Microsoft Office Word 2010 Expert

SharePoint 2010 Developer Core Skills Course Length: 5 days Price: $3,000

Table of contents. DMXzone Ajax Form Manual DMXzone

Dreamweaver CS6. Level 1. Topics Workspaces Basic HTML Basic CSS

Dreamweaver CS4. Introduction. References :

CSS: Layout, Floats, and More

USER MANUAL TABLE OF CONTENTS. Easy Site Maintenance. Version: 1.0.4

EXAM Web Development Fundamentals. Buy Full Product.

The Benefits of CSS. Less work: Change look of the whole site with one edit

MadCap Flare Training

Accelerated Mobile Pages Advertisement and Cascading Style Sheet Merging

SOFTRONIICS Call:

Manipulating Database Objects

HTMLnotesS15.notebook. January 25, 2015

Macromedia RoboHelp Course Outline

How to Use Serif WebPlus 10

ITSE 1401 Web Design Tools Lab Project 4 (Expression Web 4 - Units M, N, O, P) Last revised: 1/9/14

Road Map for Essential Studio 2010 Volume 1

E-Business Systems 1 INTE2047 Lab Exercises. Lab 5 Valid HTML, Home Page & Editor Tables

Transcription:

Themes and Master Pages Today you will learn Styles Themes Master Pages CSE 409 Advanced Internet Technology

Styles CSE 409 Advanced Internet Technology 2

Creating a Basic Inline Style To apply style to ordinary HTML element, you set the style attribute While setting the multiple style properties, the properties are separated by semicolon. CSE 409 Advanced Internet Technology 3

Creating a Basic Inline Style Same approach can be used to apply formatting to web control (using style), but webcontrol provide formatting properties It is actually rendered into following HTML, which uses an inline style CSE 409 Advanced Internet Technology 4

Style Builder Style builder is used to create styles by picking and choosing your style preference in a dedicated style box Adding a style to a <div> CSE 409 Advanced Internet Technology 5

Style Builder Creating an inline style (Format New Style) CSE 409 Advanced Internet Technology 6

Style Builder Style setting in the New Style Dialog Box CSE 409 Advanced Internet Technology 7

CSS Properties Window CSS Properties Window (View CSS Properties) CSE 409 Advanced Internet Technology 8

Creating a Style Sheet Create a style sheet (Website Add New Style Sheet template) In style sheet, several styles (also known as rules) can be define Each rule has two parts. The portion before the period indicates the HTML element to which the rule applies The portion after the period indicates the unique name (also called as CSS class name) CSE 409 Advanced Internet Technology 9

Applying Style Sheet Rules Link the page to appropriate style sheet. The <link> element references the file with the style sheet, which is placed in the <head> section of your page CSE 409 Advanced Internet Technology 10

Applying Style Sheet Rules To bind the style rules to the ASP.NET controls use CssClass Property To apply a style to an ordinary HTML element use Class property CSE 409 Advanced Internet Technology 11

Themes To use theme in web application, you need to create a folder that defines it. The created folder should be placed in the App_Themes folder: placed inside the top-level directory for your web application. An application can contain definitions for multiple themes, but each themes should be in separate folder Only one theme can be active on a given page at a time. CSE 409 Advanced Internet Technology 12

Themes To make the theme accomplish the work, creation of at least one skin file in the theme folder is necessary A skin file is a text file with the.skin extension. Skin file is essentially a list of control tags, the control tags don t need to completely define the control Set the properties that need to be standardized CSE 409 Advanced Internet Technology 13

Themes CSE 409 Advanced Internet Technology 14

Applying a Simple Theme To add a theme to your project, select Website Add New Item, and choose Skin File. CSE 409 Advanced Internet Technology 15

Handling Theme Conflicts Conflict between your controls and your theme, the theme wins. To Override, use It s possible to use both the Theme attribute and the StylesheetTheme Other approach, CSE 409 Advanced Internet Technology 16

APPLYING A THEME TO AN ENTIRE WEBSITE Configure the <pages> element in the web.config file for your application CSE 409 Advanced Internet Technology 17

Creating Multiple Skins for the Same Control ASP.NET allows you to create multiple declarations for the same control Create a named skin by supplying a SkinID attribute CSE 409 Advanced Internet Technology 18

More Advanced Skins Ex: Calendar Control CSE 409 Advanced Internet Technology 19

Master Page Basics Look and feel of application Common layout One solution: Use frames Master pages are text files that can contain HTML, web controls, and code Extension:.master Master pages must be used by other pages, which are known as content pages. CSE 409 Advanced Internet Technology 20

A Simple Master Page and Content Page Blank page that includes a ContentPlaceHolder control. Everything else that s set in the master page is unchangeable in a content page. Demo Create a master page Add an image above the ContentPlaceHolder Add a footer below ContentPlaceHolder Add content page which uses master page CSE 409 Advanced Internet Technology 21

How Master Pages and Content Pages Are Master Page Directive Connected CSE 409 Advanced Internet Technology 22

A Master Page with Multiple Content Regions Add multiple ContentPlaceHolder controls and arrange them appropriately CSE 409 Advanced Internet Technology 23

How Master Pages and Content Pages Are Connected Linking your page to the master page by adding an attribute to the Page directive Title attribute Place everything b/n <Content> CSE 409 Advanced Internet Technology 24

A Master Page with Multiple Content Regions CSE 409 Advanced Internet Technology 25

A Master Page with Multiple Content Regions Content Page CSE 409 Advanced Internet Technology 26

A Master Page with Multiple Content Regions CSE 409 Advanced Internet Technology 27

Default Content CSE 409 Advanced Internet Technology 28

Style-Based Layouts More content is added, the page is reorganized and other content is bumped out of the way. To overcome this problem HTML tables: Place ContentPlaceHolder in a single cell CSS positioning: ContentPlaceHolder in each <div>. CSE 409 Advanced Internet Technology 29

Style-Based Layouts CSE 409 Advanced Internet Technology 30

Style-Based Layouts CSE 409 Advanced Internet Technology 31

CSE 409 Advanced Internet Technology 32

Style-Based Layouts CSE 409 Advanced Internet Technology 33

Style-Based Layouts CSE 409 Advanced Internet Technology 34

Interacting with a Master Page Programmatically CSE 409 Advanced Internet Technology 35

Interacting with a Master Page Programmatically CSE 409 Advanced Internet Technology 36

Interacting with a Master Page Programmatically Add a new property named ShowNavigationControls to the master page class. CSE 409 Advanced Internet Technology 37

Interacting with a Master Page Programmatically Content page uses the built-in Page.Master property Cast the Page.Master object to the appropriate type CSE 409 Advanced Internet Technology 38

END OF LECTURE CSE 409 Advanced Internet Technology 39