Unit-4 Working with Master page and Themes

Size: px
Start display at page:

Download "Unit-4 Working with Master page and Themes"

Transcription

1 MASTER PAGES Master pages allow you to create a consistent look and behavior for all the pages in web application. A master page provides a template for other pages, with shared layout and functionality. The master page defines placeholders for the content, which can be overridden by content pages. The output result is a combination of the master page and the content page. The content pages contain the content you want to display. When users request the content page, ASP.NET merges the pages to produce output that combines the layout of the master page with the content of the content page. Master page having.master extension. Define master page directive on top a web page. The Content of master pages is fixed for all derived pages. To place the changing data for every pages master page provide <ContentPlaceHolder> where each page hold its local content. Major characteristics of a master page: Defining common properties of a website, such as header, footer, banners, navigation menus and other elements that can be accessed by the content pages. Allowing single or multiple content pages to access single or multiple master pages. Displaying the content of each content page in content place holder. MasterPage.master <%@ Master Language="VB" CodeFile="MasterPageTest.master.vb" Inherits="MasterPageTest" %> <html> <head <title>untitled Page</title> <asp:contentplaceholder id="head" </asp:contentplaceholder> </head> 1 Dept: CE AWT ( ) Prof. Akash N. Siddhpura

2 <body><form id="form1" <div><h1>standard Header From Masterpage</h1> <asp:contentplaceholder id="cph1" </asp:contentplaceholder> <div> <asp:button ID="btnContent2" runat="server" Text="Content-1" /> </form></body></html> MasterPage.master(Coding) Public Class MasterPage Inherits System.Web.UI.MasterPage Protected Sub btncontent2_click(byval sender As Object, ByVal e As EventArgs) Handles btncontent2.click Response.Redirect("Control.aspx") End Sub End Class Default.aspx <%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile=" ContentPage.aspx.vb" Inherits=" ContentPage" title="untitled Page" %> <asp:content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <asp:content ID="Content2" ContentPlaceHolderID="CPH1" Runat="Server"> <h2>this is Home Page</h2> Control.aspx <%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile=" ContentPage.aspx.vb" Inherits=" ContentPage" title="untitled Page" %> <asp:content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <asp:content ID="Content2" ContentPlaceHolderID="CPH1" Runat="Server"> <h2>this is Another Page</h2> NESTED MASTER PAGE * To demonstrate nesting master pages we will need to create two master pages, a main master page and a sub master page. Then, we will derive a content page from the sub master page to demonstrate how the pages all link together. Add MainMasterPage: Right click the project in your solution explorer. 2 Dept: CE AWT ( ) Prof. Akash N. Siddhpura

3 Select add new item Select a master page. Name it MainMasterPage.master. Click add. The code for the MainMasterPage.master should look like this: <%@ Master Language="VB" AutoEventWireup="false" CodeBehind="MainMaster.master.vb" Inherits="NestedMasterPageExample.MainMaster" %> <head <style type="text/css"> html background-color:silver; font:14px Georgia,Serif;.content width:700px; margin:auto; border-style:solid; background-color:white; padding:10px;.tabstrip padding:3px; border-top:solid 1px black; border-bottom:solid 1px black;.tabstrip a font:14px Arial; color:fuchsia; text-decoration:none;.column float:left; padding:10px; border-right:solid 1px black;.rightcolumn float:left; padding:10px;.footer background-color:lime; border:3px dotted red; 3 Dept: CE AWT ( ) Prof. Akash N. Siddhpura

4 text-align:center;.clear clear:both; </style> <title>website Main Master Page</title> <asp:contentplaceholder ID="head" </asp:contentplaceholder> </head> <body> <form id="form1" <div class="content"> <asp:image id="imglogo" AlternateText="Logo" <div class="tabstrip"> <asp:hyperlink id="lnkproducts" Text="HOME" NavigateUrl="~/Column1_Con_Home.aspx" <asp:hyperlink id="lnkservices" Text="FORUM" NavigateUrl="~/Column2_Con_Home.aspx" <asp:contentplaceholder ID="ContentPlaceHolder1" </asp:contentplaceholder> <br class="clear" /> <div class="footer"> Copyright 2016 By DARSHAN INST. OF ENG. & TECH. FOR DIPLOMA STUDIES. </form> </body> </html> Add SubMasterPage: Right click the project in your solution explorer. Select add new item Select a Nested master page. Name it SubMasterPage.master. 4 Dept: CE AWT ( ) Prof. Akash N. Siddhpura

5 Ensure that the Select nested master page option is checked. The SubMasterPage.master code should look like this: Master Language="VB" MasterPageFile="~/MainMaster.Master" AutoEventWireup="false" CodeBehind="Column1.master.vb" Inherits="NestedMasterPageExample.Column1" %> <asp:content ID="Content1" ContentPlaceHolderID="head" <asp:content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" <div class="column"> <asp:contentplaceholder id="contentplaceholder1" <div class="column"> <asp:contentplaceholder id="contentplaceholder2" <div class="rightcolumn"> <asp:contentplaceholder id="contentplaceholder3" Add SubMasterPage(2 nd ): Right click the project in your solution explorer. Select add new item Select a Nested master page. Name it SubMasterPage2.master. Ensure that the Select nested master page option is checked. The SubMasterPage2.master code should look like this: <%@ Master Language="VB" MasterPageFile="~/MainMaster.Master" AutoEventWireup="false" CodeBehind="Column2.master.vb" Inherits="NestedMasterPageExample.Column2" %> <asp:content ID="Content1" ContentPlaceHolderID="head" <asp:content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" <div class="column"> <asp:contentplaceholder id="contentplaceholder1" <div class="rightcolumn"> <asp:contentplaceholder id="contentplaceholder2" 5 Dept: CE AWT ( ) Prof. Akash N. Siddhpura

6 Add WebPage: Right click the project in your solution explorer. Select add new item Select a web form. Name it Column1_Con_Home.aspx. Ensure that the Select master page (SubMasterPage.master) option is checked. Click add. The Column1_Con_Home.aspx code should look like this: <%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Column1.master" CodeBehind="Column1_Con_Home.aspx.vb" Inherits="NestedMasterPageExample.Column1_Con_Home" %> <asp:content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" <asp:content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" <asp:content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Column:3 Column:3 Column:3 Column:3 Column:3 6 Dept: CE AWT ( ) Prof. Akash N. Siddhpura

7 Add WebPage: Right click the project in your solution explorer. Select add new item Select a web form. Name it Column2_Con_Home.aspx. Ensure that the Select master page (Column1.master) option is checked. Click add. Select Column2.master. Click ok. The Column2_Con_Home.aspx code should look like this: <%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Column2.master" CodeBehind="Column2_Con_Home.aspx.vb" Inherits="NestedMasterPageExample.Column2_Con_Home" %> <asp:content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" <asp:content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Access master page controls from content page In ASP.NET need to access the master page controls from content page. Master page controls are not directly accessibly by content page. To access master page control we need to understand following: Master The Master property returns the MasterPage object associated with this page. FindControl(String) Searches server control with the specified id parameter. 7 Dept: CE AWT ( ) Prof. Akash N. Siddhpura

8 MasterPage.master <asp:label ID="lblMasterLabel" runat="server" Text="Master Page Text"></asp:Label> ContentPage.aspx <asp:label ID="lblDisplay" runat="server" Text=""></asp:Label> ContentPage.aspx.vb Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim masterlbl As Label = Master.FindControl("lblMasterLabel") masterlbl.text = "This is Master Label" End Sub THEMES WITH SKIN FILE ** Theme Themes in Asp.Net enable you to define the style properties and the change the appearance of a Web Page. They provides User friendly interface with similar all over look with optimized code. You can set theme in master page directive in master page as well in web.config also. Theme can be defined as collection of element that is common look and feel for whole application. The Key Features are as follows: Providing flexibility to easily change the appearance of all web pages just by making changes in few template files with minimum possible efforts. Providing various options to customize a web page. E.g. in Orkut, you can change website appearance as per your requirement. Themes contain following elements: Skin It is having.skin extension that contains tags, property settings and formatting options for server side controls. Such as Label, TextBox and Button. Skin is divided into following two groups: Default: Default skin is applied automatically to all the controls of the same type in web page, when theme is applied to the page. SkinID attributes is used to determine whether the applied skin is default or not. If SkinID is not present in current tag means it is a default skin. Named: It is a customized skin that is applied to controls when theme is applied. It has SkinID property which allows different styles to different controls. 8 Dept: CE AWT ( ) Prof. Akash N. Siddhpura

9 Applying existing theme to an application There are 3 different options to apply themes to our website: 1. Setting the theme at the page level: the Theme attribute is added to the page directive of the page. <%@ Page Language="VB" CodeFile="Default.aspx.cs"Inherits="Default" Theme="Theme1"%> 2. Setting the theme at the site level: to set the theme for the entire website you can set the theme in the web.config of the website. Open the web.config file and locate the <pages> element and add the theme attribute to it: <pages theme="theme1">... </pages> 3. Setting the theme programmatically at runtime: here the theme is set at runtime through coding. Page.Theme = Theme1; CSS Refers to a mechanism of adding fonts, colors, styles and behavior to web pages. CSS is used to provide the visual inheritance to all the web pages in the website. It is an Asp.Net file with.css extension and applies a style sheet as a part of theme in a web page. It should include in App_theme folder. Create CSS File & Theme Add Theme: Solution Explorer -> Right click -> Add ASP.NET folder -> Themes. A folder App_Themes is added to the Solution Explorer and a new folder Theme1 is added inside it. Theme1 -> Right click -> Add new item -> Skin File Skin1.skin Inside Skin1.skin <asp:label runat="server" width="300px" height="40px" font-bold="true" fontsize="x-large" forecolor="yellow" backcolor="green" SkinID= lbl /> <asp:textbox runat="server" font-bold="true" font-size="medium" forecolor="blue" backcolor="silver" font-italic="true" SkinID= txt /> <asp:button runat="server" forecolor="red" backcolor="yellow" SkinID= btn /> Create CSS Add Theme file: Solution Explorer -> Right click Add New Item Select StyleSheet Inside StyleSheet1.css p font-family:impact; text-align:center; 9 Dept: CE AWT ( ) Prof. Akash N. Siddhpura

10 color:green; Applying CSS to a webpage; Content.aspx <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Content.aspx.vb" Inherits="CSSExample.Content" %> <head <title></title> <Link rel="stylesheet" type="text/css" href="stylesheet1.css" /> </head> <body> <form id="form1" <div> <p> Hello My Name is ABCXYZ</p> <p> I am Student of Darshan Inst. of Eng. & Technology for Diploma Studies,Rajkot</p> <p> I am a Computer Engineer</p> </form></body> </html> 10 Dept: CE AWT ( ) Prof. Akash N. Siddhpura

5 Snowdonia. 94 Web Applications with C#.ASP

5 Snowdonia. 94 Web Applications with C#.ASP 94 Web Applications with C#.ASP 5 Snowdonia In this and the following three chapters we will explore the use of particular programming techniques, before combining these methods to create two substantial

More information

Practicum Guideline for ASP. Net with VB Handout 3 Making ASP website with the existing templates

Practicum Guideline for ASP. Net with VB Handout 3 Making ASP website with the existing templates Practicum Guideline for ASP. Net with VB 2008 Handout 3 Making ASP website with the existing templates One of the most difficult steps in developing a website is the web-design. It is not easy to make

More information

CP3343 Computer Science Project (Year) Technical Report Document. Mr Stephen Garner

CP3343 Computer Science Project (Year) Technical Report Document. Mr Stephen Garner CP3343 Computer Science Project (Year) Technical Report Document Mr Stephen Garner Colin Hopson 0482647 Wednesday 23 rd April 2008 i Contents 1 Introduction... 1 2 The Program Listing... 1 2.1 ASP.Net

More information

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

Websites WHAT YOU WILL LEARN IN THIS CHAPTER: WROX.COM CODE DOWNLOADS FOR THIS CHAPTER 6Creating Consistent Looking Websites WHAT YOU WILL LEARN IN THIS CHAPTER: How to use master and content pages that enable you to define the global look and feel of a web page How to work with a centralized

More information

Themes and Master Pages

Themes and Master Pages 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

More information

Module 2: Using Master Pages

Module 2: Using Master Pages Module 2: Using Master Pages Contents Overview 1 Lesson: Advantages of Using Master Pages 2 Lesson: Writing Master and Content Pages 9 Lesson: Writing Nested Master Pages 21 Lesson: Programming Master

More information

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

This tutorial starts by highlighting the benefits of nested master pages. It then shows how to create and use nested master pages. Master Pages :: Nested Master Pages Introduction Over the course of the past nine tutorials we have seen how to implement a site-wide layout with master pages. In a nutshell, master pages allow us, the

More information

ASP.NET Pearson Education, Inc. All rights reserved.

ASP.NET Pearson Education, Inc. All rights reserved. 1 ASP.NET 2 Rule One: Our client is always right. Rule Two: If you think our client is wrong, see Rule One. Anonymous 3 25.1 Introduction ASP.NET 2.0 and Web Forms and Controls Web application development

More information

Final Web Application Create a new web site under c:\temp\webapps\ and name it Final. Create the following additional folders:

Final Web Application Create a new web site under c:\temp\webapps\ and name it Final. Create the following additional folders: Final Web Application Create a new web site under c:\temp\webapps\ and name it Final. Create the following additional folders: StyleSheets App_Themes (ASP.NET folder, name the Theme1 folder Basic) App_Data

More information

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

Chapter 6. Rich Page Composition... 1 Working with Master Pages... 2 Working with Themes Working with Wizards Conclusion... Table of Contents... 1 Working with Master Pages... 2 Working with Themes... 19 Working with Wizards... 31 Conclusion... 44 Page 1 Return to Table of Contents Chapter 6 Rich Page Composition In this chapter:

More information

8 Library loan system

8 Library loan system Chapter 8: Library loan system 153 8 Library loan system In previous programs in this book, we have taken a traditional procedural approach in transferring data directly between web pages and the ASP database.

More information

CST272 Getting Started Page 1

CST272 Getting Started Page 1 CST272 Getting Started Page 1 1 2 3 4 5 6 8 Introduction to ASP.NET, Visual Studio and C# CST272 ASP.NET Static and Dynamic Web Applications Static Web pages Created with HTML controls renders exactly

More information

Unit-3 State Management in ASP.NET

Unit-3 State Management in ASP.NET STATE MANAGEMENT Web is Stateless. It means a new instance of the web page class is re-created each time the page is posted to the server. As we all know HTTP is a stateless protocol, it s can't holds

More information

1 NEW FACE OF MICROSOFT VISUAL STUDIO 2005

1 NEW FACE OF MICROSOFT VISUAL STUDIO 2005 Sborník vědeckých prací Vysoké školy báňské - Technické univerzity Ostrava číslo 2, rok 2005, ročník LI, řada strojní článek č. 1462 Marek BABIUCH * NEW FEATURES OF ASP.NET 2.0 TECHNOLOGY NOVÉ VLASTNOSTI

More information

HTML & CSS. Lesson 1: HTML Basics Lesson 2: Adding Tables Lesson 3: Intro to CSS Lesson 4: CSS in more detail Lesson 5: Review

HTML & CSS. Lesson 1: HTML Basics Lesson 2: Adding Tables Lesson 3: Intro to CSS Lesson 4: CSS in more detail Lesson 5: Review HTML & CSS Lesson 1: HTML Basics Lesson 2: Adding Tables Lesson 3: Intro to CSS Lesson 4: CSS in more detail Lesson 5: Review Lesson 1: HTML Basics 1. Write main tile HTML & CSS 2. Write today s date Match

More information

Web Authoring and Design. Benjamin Kenwright

Web Authoring and Design. Benjamin Kenwright CSS Div Layouts Web Authoring and Design Benjamin Kenwright Outline Review Why use Div Layout instead of Tables? How do we use the Div Tag? How to create layouts using the CSS Div Tag? Summary Review/Discussion

More information

INTRANET. EXTRANET. PORTAL.

INTRANET. EXTRANET. PORTAL. Intranet DASHBOARD API Getting Started Guide Version 6 Contents 1. INTRODUCTION TO THE API... 3 Overview... 3 Further Information... 4 Disclaimer... 4 2. GETTING STARTED... 5 Creating an Application within

More information

Master Pages :: Control ID Naming in Content Pages

Master Pages :: Control ID Naming in Content Pages Master Pages :: Control ID Naming in Content Pages Introduction All ASP.NET server controls include an ID property that uniquely identifies the control and is the means by which the control is programmatically

More information

AGENDA :: MULTIMEDIA TOOLS :: (1382) :: CLASS NOTES

AGENDA :: MULTIMEDIA TOOLS :: (1382) :: CLASS NOTES CLASS :: 13 12.01 2014 AGENDA SIMPLE CSS MENU W/ HOVER EFFECTS :: The Nav Element :: Styling the Nav :: UL, LI, and Anchor Elements :: Styling the UL and LI Elements TEMPLATE CREATION :: Why Templates?

More information

TRAINING GUIDE. Rebranding Lucity Web

TRAINING GUIDE. Rebranding Lucity Web TRAINING GUIDE Rebranding Lucity Web Rebranding Lucity Web Applications In this booklet, we ll show how to make the Lucity web applications your own by matching your agency s style. Table of Contents Web

More information

Micronet International College

Micronet International College Name: /50 Class: Micronet International College Level 4 Diploma in Computing Designing and Developing a Website (DDW) Test 2 (20%) QUESTION 1 a) JPEG is a commonly used image file format on the web. What

More information

CST272 Getting Started Page 1

CST272 Getting Started Page 1 CST272 Getting Started Page 1 1 2 3 5 6 8 10 Introduction to ASP.NET and C# CST272 ASP.NET ASP.NET Server Controls (Page 1) Server controls can be Buttons, TextBoxes, etc. In the source code, ASP.NET controls

More information

Real World Branding with SharePoint Server 2007 Publishing

Real World Branding with SharePoint Server 2007 Publishing Page 1 of 31 2009 Microsoft Corporation. All rights reserved. Real World Branding with SharePoint Server 2007 Publishing Sites (Part 2 of 2) Summary: Learn the essential concepts needed to create an engaging

More information

3 Customer records. Chapter 3: Customer records 57

3 Customer records. Chapter 3: Customer records 57 Chapter 3: Customer records 57 3 Customer records In this program we will investigate how records in a database can be displayed on a web page, and how new records can be entered on a web page and uploaded

More information

Create a three column layout using CSS, divs and floating

Create a three column layout using CSS, divs and floating GRC 275 A6 Create a three column layout using CSS, divs and floating Tasks: 1. Create a 3 column style layout 2. Must be encoded using HTML5 and use the HTML5 semantic tags 3. Must se an internal CSS 4.

More information

Creating a Job Aid using HTML and CSS

Creating a Job Aid using HTML and CSS Creating a Job Aid using HTML and CSS In this tutorial we will apply what we have learned about HTML and CSS. We will create a web page containing a job aid about how to buy from a vending machine. Optionally,

More information

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

E-Commerce: Theming your site Best practices and tips on theming E-Commerce Intermediate. Mike Poling & Erin Gannon Best practices and tips on theming E-Commerce Intermediate Mike Poling & Erin Gannon Objectives This class will: Give you a better understanding of the architecture of E-Commerce Teach some basic editable

More information

COMS 359: Interactive Media

COMS 359: Interactive Media COMS 359: Interactive Media Agenda Review CSS Layout Preview Review Introducting CSS What is CSS? CSS Syntax Location of CSS The Cascade Box Model Box Structure Box Properties Review Style is cascading

More information

CSS: formatting webpages

CSS: formatting webpages CSS: formatting webpages Why CSS? separate content from formatting (style) style can be changed easily without rewriting webpages keep formatting consistent across website allows more advanced formatting

More information

ASP.NET Security. 7/26/2017 EC512 Prof. Skinner 1

ASP.NET Security. 7/26/2017 EC512 Prof. Skinner 1 ASP.NET Security 7/26/2017 EC512 Prof. Skinner 1 ASP.NET Security Architecture 7/26/2017 EC512 Prof. Skinner 2 Security Types IIS security Not ASP.NET specific Requires Windows accounts (NTFS file system)

More information

CSS Mapping in Advanced Mode for Events. Cvent, Inc 1765 Greensboro Station Place McLean, VA

CSS Mapping in Advanced Mode for Events. Cvent, Inc 1765 Greensboro Station Place McLean, VA CSS Mapping in Advanced Mode for Events 2018 Cvent, Inc 1765 Greensboro Station Place McLean, VA 22102 www.cvent.com Contents CSS Mapping in Advanced Mode for Events... 3 Layout Options and Structure...

More information

NỘI DUNG 5.1 Xây dựng phần hiển thị sản phẩm Thiết kế layout cho trang web sử dụng MasterPage Xây dựng website đa ngôn ngữ...

NỘI DUNG 5.1 Xây dựng phần hiển thị sản phẩm Thiết kế layout cho trang web sử dụng MasterPage Xây dựng website đa ngôn ngữ... NỘI DUNG 5.1 Xây dựng phần hiển thị sản phẩm... 1 5.2 Thiết kế layout cho trang web sử dụng MasterPage... 4 5.3 Xây dựng website đa ngôn ngữ... 11 5.1 Xây dựng phần hiển thị sản phẩm Yêu cầu trình bày

More information

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Actual4Test.  Actual4test - actual test exam dumps-pass for IT exams Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : 70-515-VB Title : Web Applications Development with Microsoft VB.NET Framework 4 Practice Test Vendors

More information

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: CREATING AN HTML LIST Most horizontal or vertical navigation bars begin with a simple

More information

INTRODUCTION TO CSS. Mohammad Jawad Kadhim

INTRODUCTION TO CSS. Mohammad Jawad Kadhim INTRODUCTION TO CSS Mohammad Jawad Kadhim WHAT IS CSS Like HTML, CSS is an interpreted language. When a web page request is processed by a web server, the server s response can include style sheets,

More information

Module 2 (VII): CSS [Part 4]

Module 2 (VII): CSS [Part 4] INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module 2 (VII): CSS [Part 4] Dr. El-Sayed El-Alfy Computer Science Department King Fahd University of Petroleum and Minerals

More information

NAVIGATION INSTRUCTIONS

NAVIGATION INSTRUCTIONS CLASS :: 13 12.01 2014 NAVIGATION INSTRUCTIONS SIMPLE CSS MENU W/ HOVER EFFECTS :: The Nav Element :: Styling the Nav :: UL, LI, and Anchor Elements :: Styling the UL and LI Elements CSS DROP-DOWN MENU

More information

8 Basic Skinning. Introduction. In this chapter we will cover the following topics:

8 Basic Skinning. Introduction. In this chapter we will cover the following topics: 8 Basic Skinning In this chapter we will cover the following topics: Downloading and installing a skin Creating a simple HTML skin Creating a simple ASCX skin Deploying your skins and containers Exploring

More information

Arena: Edit External Web Templates (Course #A217)

Arena: Edit External Web Templates (Course #A217) Arena: Edit External Web Templates (Course #A217) Presented by: Alex Nicoletti Arena Product Owner 2017 Shelby Systems, Inc. Other brand and product names are trademarks or registered trademarks of the

More information

Lab 9: Creating Personalizable applications using Web Parts

Lab 9: Creating Personalizable applications using Web Parts Lab 9: Creating Personalizable applications using Web Parts Estimated time to complete this lab: 45 minutes Web Parts is a framework for building highly customizable portalstyle pages. You compose Web

More information

CS134 Web Site Design & Development. Quiz1

CS134 Web Site Design & Development. Quiz1 CS134 Web Site Design & Development Quiz1 Name: Score: Email: I Multiple Choice Questions (2 points each, total 20 points) 1. Which of the following is an example of an IP address? a. www.whitehouse.gov

More information

Basic CSS Lecture 17

Basic CSS Lecture 17 Basic CSS Lecture 17 Robb T. Koether Hampden-Sydney College Wed, Feb 21, 2018 Robb T. Koether (Hampden-Sydney College) Basic CSSLecture 17 Wed, Feb 21, 2018 1 / 22 1 CSS 2 Background Styles 3 Text Styles

More information

What do we mean by layouts?

What do we mean by layouts? What do we mean by layouts? A layout is how you position the elements of your page You can have columns Move paragraphs and sections around And you can do this all without changing the content of your

More information

ComponentOne. Wizard for ASP.NET Web Forms

ComponentOne. Wizard for ASP.NET Web Forms ComponentOne Wizard for ASP.NET Web Forms Copyright 1987-2015 GrapeCity, Inc. All rights reserved. ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA

More information

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

Quick Start Guide. This guide will help you get started with Kentico CMS for ASP.NET. It answers these questions: Quick Start Guide This guide will help you get started with Kentico CMS for ASP.NET. It answers these questions:. How can I install Kentico CMS?. How can I edit content? 3. How can I insert an image or

More information

Designing the Home Page and Creating Additional Pages

Designing the Home Page and Creating Additional Pages Designing the Home Page and Creating Additional Pages Creating a Webpage Template In Notepad++, create a basic HTML webpage with html documentation, head, title, and body starting and ending tags. From

More information

Tutorial 4. Activities. Code o Editor: Expression Web o Focus : Base Layout, navigation with folders, external stylesheets, Open up Expression Web

Tutorial 4. Activities. Code o Editor: Expression Web o Focus : Base Layout, navigation with folders, external stylesheets, Open up Expression Web Tutorial 4 Activities Code o Editor: Expression Web o Focus : Base Layout, navigation with folders, external stylesheets, Open up Expression Web Ensure that the editor is in code mode, down the bottom

More information

CSS stands for Cascading Style Sheets Styles define how to display HTML elements

CSS stands for Cascading Style Sheets Styles define how to display HTML elements CSS stands for Cascading Style Sheets Styles define how to display HTML elements CSS has various levels and profiles. Each level of CSS builds upon the last, typically adding new features and typically

More information

Chapter 6: CSS Layouts

Chapter 6: CSS Layouts Chapter 6: CSS Layouts Learning Outcomes: Identify the four types of CSS positioning: static, relative, fixed and absolute Identify the use of CSS floats Be able to implement HTML and CSS to construct

More information

Caso de Estudio: Parte II. Diseño e implementación de. Integración de Sistemas. aplicaciones Web con.net

Caso de Estudio: Parte II. Diseño e implementación de. Integración de Sistemas. aplicaciones Web con.net Caso de Estudio: Diseño e Implementación de la Capa Web de MiniBank Integración de Sistemas Parte II Diseño e implementación de Parte II. Diseño e implementación de aplicaciones Web con.net Introducción

More information

Creating Layouts Using CSS. Lesson 9

Creating Layouts Using CSS. Lesson 9 Creating Layouts Using CSS Lesson 9 CSS Page Layout Advantages Greater typography control Style is separate from structure Potentially smaller documents Easier site maintenance Increased page layout control

More information

SharpShooter Reports.Web Getting Started (ASP.NET Web Application)

SharpShooter Reports.Web Getting Started (ASP.NET Web Application) SharpShooter Reports.Web Getting Started (ASP.NET Web Application) Last modified on: March 19, 2012 Table of Content Table of Content... 2 System Requirements... 3 Introduction... 3 Implementation... 3

More information

Web Recruitment Module Customisation

Web Recruitment Module Customisation Web Recruitment Module Customisation Introduction The People Inc. Web Recruitment add-on enables users to publish details of vacancies on their web site. This information is integrated seamlessly into

More information

CSS means Cascading Style Sheets. It is used to style HTML documents.

CSS means Cascading Style Sheets. It is used to style HTML documents. CSS CSS means Cascading Style Sheets. It is used to style HTML documents. Like we mentioned in the HTML tutorial, CSS can be embedded in the HTML document but it's better, easier and neater if you style

More information

Cascading Style Sheets Level 2

Cascading Style Sheets Level 2 Cascading Style Sheets Level 2 Course Objectives, Session 1 Level 1 Quick Review Chapter 6 Revisit: Web Fonts Chapter 8: Adding Graphics to Web Pages Chapter 9: Sprucing Up Your Site s Navigation Begin

More information

Getting Started with MadCap Flare Part 2: Feature Concepts

Getting Started with MadCap Flare Part 2: Feature Concepts Getting Started with MadCap Flare Part 2: Feature Concepts Who Am I?» Neil Perlin Hyper/Word Services. Internationally recognized content creation and delivery consultant. Helps create efficient, flexible

More information

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

ADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model) INTRO TO CSS RECAP HTML WHAT IS CSS ADDING CSS TO YOUR HTML DOCUMENT CSS IN THE DIRECTORY TREE CSS RULES A FEW CSS VALUES (colour, size and the box model) CSS SELECTORS SPECIFICITY WEEK 1 HTML In Week

More information

Introduction to Cascading Style Sheet (CSS)

Introduction to Cascading Style Sheet (CSS) Introduction to Cascading Style Sheet (CSS) Digital Media Center 129 Herring Hall http://dmc.rice.edu/ dmc-info@rice.edu (713) 348-3635 Introduction to Cascading Style Sheets 1. Overview Cascading Style

More information

Editing your SiteAssist Professional Template

Editing your SiteAssist Professional Template Editing your SiteAssist Professional Template This Solution Recipe shows you how you can edit your SiteAssist Professional created templates to suit your needs. SiteAssist Professional creates your entire

More information

Daniel Ferguson Certified MadCap Flare Trainer & Consultant Founder of Smart Output

Daniel Ferguson Certified MadCap Flare Trainer & Consultant Founder of Smart Output Daniel Ferguson Certified MadCap Flare Trainer & Consultant Founder of Smart Output < /> daniel@smartoutput.com @ferg_daniel linkedin.com/in/danielsferguson smartoutput.com 3 Variables TOCs Concepts Publish

More information

Chapter 3 CSS for Layout

Chapter 3 CSS for Layout Chapter 3 CSS for Layout Chapter two introduced how CSS is used to manage the style of a webpage, this chapter explores how CSS manages the layout of a webpage. Generally a webpage will consist of many

More information

Overview. Part I: Portraying the Internet as a collection of online information systems HTML/XHTML & CSS

Overview. Part I: Portraying the Internet as a collection of online information systems HTML/XHTML & CSS CSS Overview Part I: Portraying the Internet as a collection of online information systems Part II: Design a website using HTML/XHTML & CSS XHTML validation What is wrong?

More information

INTERNATIONAL UNIVERSITY OF JAPAN Public Management and Policy Analysis Program Graduate School of International Relations

INTERNATIONAL UNIVERSITY OF JAPAN Public Management and Policy Analysis Program Graduate School of International Relations Hun Myoung Park (2/2/2018) Layout & Position: 1 INTERNATIONAL UNIVERSITY OF JAPAN Public Management and Policy Analysis Program Graduate School of International Relations DCC5382 (2 Credits) Introduction

More information

Wireframe :: tistory wireframe tistory.

Wireframe :: tistory wireframe tistory. Page 1 of 45 Wireframe :: tistory wireframe tistory Daum Tistory GO Home Location Tags Media Guestbook Admin 'XHTML+CSS' 7 1 2009/09/20 [ ] XHTML CSS - 6 (2) 2 2009/07/23 [ ] XHTML CSS - 5 (6) 3 2009/07/17

More information

Web Applications With Java Server Pages and Microsoft.NET Web Forms

Web Applications With Java Server Pages and Microsoft.NET Web Forms Web Applications With Java Server Pages and Microsoft.NET Web Forms Ryan Tillotson Abstract As the web continues to develop, web applications will become more prominent. Because of this, it is important

More information

CSS Cascading Style Sheets

CSS Cascading Style Sheets CSS Cascading Style Sheets site root index.html about.html services.html stylesheet.css images boris.jpg Types of CSS External Internal Inline External CSS An external style sheet is a text document with

More information

Tutorial 2 Editor Brackets

Tutorial 2 Editor Brackets Tutorial 2 Editor Brackets Goals Create a website showcasing the following techniques - Content switch with Javascript Website - Create a folder on the desktop called tutorial 2 o - Open Brackets o - Open

More information

GIMP WEB 2.0 MENUS. Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar.

GIMP WEB 2.0 MENUS. Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar. GIMP WEB 2.0 MENUS Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar. Standard Navigation Bar Web 2.0 Navigation Bar Now the all-important question

More information

ICT IGCSE Practical Revision Presentation Web Authoring

ICT IGCSE Practical Revision Presentation Web Authoring 21.1 Web Development Layers 21.2 Create a Web Page Chapter 21: 21.3 Use Stylesheets 21.4 Test and Publish a Website Web Development Layers Presentation Layer Content layer: Behaviour layer Chapter 21:

More information

Styles, Style Sheets, the Box Model and Liquid Layout

Styles, Style Sheets, the Box Model and Liquid Layout Styles, Style Sheets, the Box Model and Liquid Layout This session will guide you through examples of how styles and Cascading Style Sheets (CSS) may be used in your Web pages to simplify maintenance of

More information

Dynamic Select Option Menu Using Ajax And PHP. Wednesday, Mar 11, 2015

Dynamic Select Option Menu Using Ajax And PHP. Wednesday, Mar 11, 2015 Page 1 of 7 TalkersCode.com HTML CSS JavaScript jquery PHP MySQL Web Development Tutorials Dynamic Select Option Menu Using Ajax And PHP. Wednesday, Mar 11, 2015 Share 4 Stum Tags:- Ajax jquery PHP MySQL

More information

Snapsis CSS NavMenu Development Guide

Snapsis CSS NavMenu Development Guide Snapsis CSS NavMenu Development Guide Overview This document outlines the Snapsis NavMenu Skin Object for the DotNetNuke portal system. This module supports any type of navigation through a template driven

More information

Assignments (4) Assessment as per Schedule (2)

Assignments (4) Assessment as per Schedule (2) Specification (6) Readability (4) Assignments (4) Assessment as per Schedule (2) Oral (4) Total (20) Sign of Faculty Assignment No. 02 Date of Performance:. Title: To apply various CSS properties like

More information

Validation Server Controls

Validation Server Controls Validation Server Controls Definition: Validation is a set of rules that you apply to the data you collect. A Validation server control is used to validate the data of an input control. If the data does

More information

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

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10 CONTENTS Chapter 1 Introduction to Dreamweaver CS3 1 About Dreamweaver CS3 Interface...4 Title Bar... 4 Menu Bar... 4 Insert Bar... 5 Document Toolbar... 5 Coding Toolbar... 6 Document Window... 7 Properties

More information

Teacher s Reference Manual

Teacher s Reference Manual UNIVERSITY OF MUMBAI Teacher s Reference Manual Subject: Advanced Web Programming with effect from the academic year 2018 2019 Practical 3(b).Demonstrate the use of Calendar control to perform following

More information

Kentico CMS 5.0 Tutorial

Kentico CMS 5.0 Tutorial Kentico CMS 5.0 Tutorial 2 Kentico CMS 5.0 Tutorial Table of Contents Introduction 5... 5 Kentico CMS Overview Installation 7... 7 Prerequisites 8 Setup... installation... 9 Web application installation...

More information

Lesson 5 Introduction to Cascading Style Sheets

Lesson 5 Introduction to Cascading Style Sheets Introduction to Cascading Style Sheets HTML and JavaScript BASICS, 4 th Edition 1 Objectives Create a Cascading Style Sheet. Control hyperlink behavior with CSS. Create style classes. Share style classes

More information

Before you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website.

Before you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website. 9 Now it s time to challenge the serious web developers among you. In this section we will create a website that will bring together skills learned in all of the previous exercises. In many sections, rather

More information

Lab: Create JSP Home Page Using NetBeans

Lab: Create JSP Home Page Using NetBeans Lab: Create JSP Home Page Using NetBeans Table of Contents 1. OVERVIEW... 1 2. LEARNING OBJECTIVES... 1 3. REQUIREMENTS FOR YOUR HOME PAGE (INDEX.JSP)... 2 4. REQUIREMENTS FOR YOUR LABS PAGE (LABS.JSP)...

More information

CS 350 Internet Applications I Name: Exam II (CSS) October 29, 2013

CS 350 Internet Applications I Name: Exam II (CSS) October 29, 2013 CS 350 Internet Applications I Name: Exam II (CSS) October 29, 2013 Part I. (50%) Multiple Guess Choice. 1. What does CSS stand for? a. Creative Style Sheets b. Computer Style Sheets c. Cascading Style

More information

XML with.net: Introduction

XML with.net: Introduction XML with.net: Introduction Extensible Markup Language (XML) strores and transports data. If we use a XML file to store the data then we can do operations with the XML file directly without using the database.

More information

Website Development (WEB) Lab Exercises

Website Development (WEB) Lab Exercises Website Development (WEB) Lab Exercises Select exercises from the lists below to complete your training in Website Development and earn 125 points. You do not need to do all the exercises listed, except

More information

CSS Futures. Web Development

CSS Futures. Web Development CSS Futures Web Development CSS Futures CSS3 CSS Preprocessors: SASS & LESS CSS Frameworks CSS3 CSS3 is the latest standard for CSS Combined with HTML5, CSS3 makes it possible to create highly interactive

More information

Flowtime Website Installation and Configuration Aug Product Version 8.1+

Flowtime Website Installation and Configuration Aug Product Version 8.1+ PNMsoft Knowledge Base Sequence Administrator Guides Flowtime Website Installation and Configuration Aug. 2016 Product Version 8.1+ 2016 PNMsoft All Rights Reserved This document, including any supporting

More information

THE HITCHHIKERS GUIDE TO HTML

THE HITCHHIKERS GUIDE TO HTML THE HITCHHIKERS GUIDE TO HTML Computer Science I Designing technology solutions Mr. Barrett http://thestrategicblogger.com/ What is HTML HTML is a markup language for describing web pages HTML is used

More information

RAVASMARTSOLUTIONS - TECH TIPS

RAVASMARTSOLUTIONS - TECH TIPS RAVASMARTSOLUTIONS - TECH TIPS Purpose Dreamweaver: Cascading Style Sheets By utilizing an external style sheet the entire web site s text styles (color, font, size, etc.) may be changed by just modifying

More information

TEST NAME: MMWD 4.01 TEST ID: GRADE:09 - Ninth Grade Twelfth Grade SUBJECT:Computer and Information Sciences TEST CATEGORY: My Classroom

TEST NAME: MMWD 4.01 TEST ID: GRADE:09 - Ninth Grade Twelfth Grade SUBJECT:Computer and Information Sciences TEST CATEGORY: My Classroom TEST NAME: MMWD 4.01 TEST ID:2416218 GRADE:09 - Ninth Grade - 12 - Twelfth Grade SUBJECT:Computer and Information Sciences TEST CATEGORY: My Classroom MMWD 4.01 Page 1 of 23 Student: Class: Date: 1. Which

More information

Cascading Style Sheet. Styles as Tag Attributes. Syntax. <h1>: what font type/size is used? STYLE = SELECTOR {RULES} Attributes such as bgcolor

Cascading Style Sheet. Styles as Tag Attributes. Syntax. <h1>: what font type/size is used? STYLE = SELECTOR {RULES} Attributes such as bgcolor Styles? Cascading Style Sheet http://www.eie.polyu.edu.hk/~nflaw/biclustering/index.html Request string: GET /~nflaw/biclustering/index.html HTTP/1.1 Host: www.eie.polyu.edu.hk 1 Response string: HTTP/1.1

More information

Lesson 1 HTML Basics. The Creative Computer Lab. creativecomputerlab.com

Lesson 1 HTML Basics. The Creative Computer Lab. creativecomputerlab.com Lesson 1 HTML Basics The Creative Computer Lab creativecomputerlab.com What we are going to do today Become familiar with web development tools Build our own web page from scratch! Learn where to find

More information

Diploma in Digital Applications Unit 5: Coding for the Web

Diploma in Digital Applications Unit 5: Coding for the Web Pearson Edexcel Level 2 Diploma in Digital Applications Unit 5: Coding for the Web 8 May 12 May 2017 Time: 2 hours 30 minutes Paper Reference DA205/01 You must have: A computer workstation, appropriate

More information

Block & Inline Elements

Block & Inline Elements Block & Inline Elements Every tag in HTML can classified as a block or inline element. > Block elements always start on a new line (Paragraph, List items, Blockquotes, Tables) > Inline elements do not

More information

Getting Started with CSS Sculptor 3

Getting Started with CSS Sculptor 3 Getting Started with CSS Sculptor 3 With CSS Sculptor, you can quickly create a cross-browser compatible layout with custom widths, margins, padding, background images and more. Additionally, you can use

More information

SASS Variables and Mixins Written by Margaret Rodgers. Variables. Contents. From Web Team. 1 Variables

SASS Variables and Mixins Written by Margaret Rodgers. Variables. Contents. From Web Team. 1 Variables SASS Variables and Mixins Written by Margaret Rodgers From Web Team Contents 1 Variables o 1.1 Nested Variables 2 Mixins 3 Inheritance Variables A variable in SASS works exactly the same as a variable

More information

In the early days of the Web, designers just had the original 91 HTML tags to work with.

In the early days of the Web, designers just had the original 91 HTML tags to work with. Web Design Lesson 4 Cascading Style Sheets In the early days of the Web, designers just had the original 91 HTML tags to work with. Using HTML, they could make headings, paragraphs, and basic text formatting,

More information

Asp.Net Dynamic Form

Asp.Net Dynamic  Form Asp.Net Dynamic Email Form Easy Install. Use Custom User Control or Use Dynamic Email Form Library Generate Dynamic Email Form from Xml file. Submit Form to your email. Submit Form with Network Credential.

More information