Page Layout Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.

Slides:



Advertisements
Similar presentations
Chapter 3 – Web Design Tables & Page Layout
Advertisements

Table (TABLE) Contains TABLE ROWS (TR) Contains TABLE DATA (TD) Data can contain anything Text Lists Other tables Pictures …
Designing Websites Using HTML and FrontPage A Typical Webpage View Source A webpage is a text file containing instructions to tell a computer how the.
Cascading Style Sheets
MIS 425 Lecture 2 – HTML Navigation, Colors, tables and Styles Instructor: Martin Neuhard
INTRODUCTORY Tutorial 7 Creating Liquid Layouts. XP Objectives Discern the differences among various types of layouts Create a liquid layout Create a.
Section 6.1 Write Web text Use a mission statement Generate and organize content ideas Section 6.2 Use page dimension guidelines Determine content placement.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
 CSS ids  Pages  Sites  HTML: class=“name”  Names may define format OR content › Either works  CAN apply multiple classes to the same tag  Multiple.
Computing Concepts Advanced HTML: Tables and Forms.
Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet.
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
Tables in HTML Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
Chapter Objectives Discuss the relationship between page length, content placement, and usability Complete Step 4: Specify the website’s navigation system.
Tutorial 6 Creating Tables and CSS Layouts. Objectives Session 6.1 – Create a data table to display and organize data – Modify table properties and layout.
Deleting and Updating Records in MySQL using PHP Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Web Design, 3 rd Edition 4 Planning a Successful Web Site: Part 2.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Web Design, 4 th Edition 4 Planning a Successful Web Site: Part 2.
Lesson 4: Using HTML5 Markup.  The distinguishing characteristics of HTML5 syntax  The new HTML5 sectioning elements  Adding support for HTML5 elements.
Web Technologies Website Development Trade & Industrial Education
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
History, Navigator, Screen and Form Objects Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
Website Development with Dreamweaver
CHAPTER 10 Formatting Tables and Forms. Using Tables the Right Way  HTML and XHTML have a LOT of tags dedicated to building a table  If you have only.
Working with background, images and date object Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
Adding Image, audio and video files to web pages Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
HTML CSS JAVASCRIPT. HTML - Stands for Hyper Text Markup Language HTML is a ‘language’ that describes web pages. This language is a collection of codes.
Introduction to HTML 1 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan.
Microsoft FrontPage 2003 Illustrated Complete Using a Dynamic Web Template.
Introduction to JavaScript Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 1.
Dreamweaver MX BTA3Open. Dreamweaver MX Application used for creating web sites Homepage must always be saved as index.htm All files names must be in.
Introduction to Cascading Style-sheets (CSS) Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 1.
>> HTML: Structure Elements. Elements in HTML are either Inline or Block. Block-level Elements – Begins on a new line – Occupy the whole width – Stacks.
Retrieving data from MySQL using PHP Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
CIS234A- Lecture 7 Instructor Greg D’Andrea. Tables A table can be displayed on a Web page either in a text or graphical format. A text table: – contains.
Introducing CSS Layout C HAPTER 11. T YPES OF W EB P AGE L AYOUTS  Fixed width  Most control over how your design looks  Can inconvenience some of.
CHAPTER 5 Working with Data Tables and Inline Frames.
How the Web Works Building a Website – Lesson 1. How People Access the Web Browsers People access websites using software called a web browser. To view.
Layout with Styles Castro Chapter 11. Tables vs. CSS You can produce “liquid layouts” (layouts that stretch as the browser is resized) using tables or.
INTRODUCTORY Tutorial 5 Using CSS for Layout and Printing.
Content Administration 08/19/13 & 08/20/13.
Introduction to Web Site Design. Rest of this semester Wednesday Nov 26th, the last lecture. Friday, Nov 28th, Thanksgiving. Monday Dec 1st, review session.
HTML FORMS Basharat Mahmood, Department of Computer Science,CIIT,Islamabad,Pakistan. 1.
CSS properties Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
HTML 5 Form elements Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Positioning Objects with CSS and Tables
HTML DOM Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
HTML Links and navigation Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Practice for Chapter 3: Assume that you are a freelance web designer and need to create a website to promote your freelance company.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 5.
CSS Layout Cascading Style Sheets. Lesson Overview  In this lesson, we’ll cover:  Brief CSS review  Creating sections with the tag  Creating inline.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Essential Questions What challenges do mobile devices present to Web designers? What are the basic concepts.
Section 6.1 Section 6.2 Write Web text Use a mission statement
CSCI 1720 W3.CSS – Part 1 East Tennessee State University Department of Computing CSCI 1720 Intermediate Web Design.
CSS HTML and website development.
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
>> Introduction to CSS
Concepts for fluid layout
Positioning Objects with CSS and Tables
Introduction to web design discussing which languages is used for website designing
Fixed Positioning.
CSS.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Lesson 5: HTML Tables.
Concepts for fluid layout
Positioning Objects with CSS and Tables
Various mobile devices
Presentation transcript:

Page Layout Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1

Summary of the previous lecture Font properties Controlling text with CSS Styling links Styling background Styling tables Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 2

Outline The process to design a page layout div tag Coding a page using divs and CSS Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 3

Consider a web application to develop CONNECTIONS: a smaller version of social web Users can register themselves After registration they can send a text message to anybody who is registered with the website User’s can view the received messages Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 4

1. The process Determine the requirements of the site Group the required information Make a site map Identify key elements for each page Decide about the arrangement of information on each page Translate the design into code Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 5

1.1 Determining requirements Under standing the audience Who? Who will visit the site? – You can create fictional visitors – Men and women of 20 to 50 years of age Why? Why have they come to your site? – Send messages – View received messages Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 6

1.1 Determining requirements… What? What does a visitor need to achieve a goal? – Will they be familiar with your product? How often? How often can you realistically expect them to visit? – In-order to make changes Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 7

1.1 Determining requirements… Things You Want the Site to Do Determining the requirement of the owner of the site which are not already listed – User must register themselves in-order to send and receive messages Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 8

1.2 Grouping and categorization Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 9 Group related information/sections – Home page: login form, registration form – User page: user’s information, recent messages – Inbox: Received messages – Outbox: Sent messages – Send a message: Send message form

1.3 Make a site map… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 10 Site map shows how many pages you need and how they relate Usually look like either a family tree or folder list

1.3 Make a site map Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 11 Home page User page Inbox Outbox Send a message

1.4 Key element for each page Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 12 Common sections (header, navigation, footer etc.) Page specific sections Common Sections (header, footer) Page specific sections Home page: login form, registration form User page: user’s information, recent messages

1.4 Key element for each page… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 13 Inbox page: received messages Outbox page: messages sent by the user Send message page: form to send a message

1.5 Arranging elements on pages Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 14 Web Page header Logo Login form Sign-In form Footer

1.5 Arranging elements on pages… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 15 User Info User Picture User data Actions Recent Messages Message

2. Translating design into code Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 16 Liquid vs Fixed design The Div tag Coding the design

2.1 Liquid vs Fixed design Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 17 Liquid Design – designs automatically fits to the screen – Use percentage values to declare height and width of sections Fixed design – Designs remain fixed width – Use fixed values to declare height and width of sections

2.2 The tag Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 18 Defines a division or section in an HTML document Visually, allows us to make containers that can be formatted Can be declared as ……

2.2 The tag Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 19 Starts a div Div style Div contents Div ends Second div

2.2 The tag… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 20 First div Second div

2.3 Coding the design Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 21 //header div ends //container div ends

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 22 Header and logo divs Heading text Form element //form container ends //end of center content //container div ends

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 23 Header and logo divs Login form div’s Heading text Form element //form container ends //end of center content //container div ends

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 24 Header and logo divs Login form div’s Registration form div’s //end of center content //container div ends

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 25 Divs required to make the structure: Main container Header Logo Center container Form container Form heading Form row

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 26 Main container

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 27 Header div

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 28 Logo div

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 29 Center content

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 30 Form heading Form row

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 31 Styling label Styling input field

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 32 Div adding space Footer div

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 33 Container div Header div Logo div Header ends Container ends

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 34

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 35 Center content starts Form container start Form heading Form starts Row starts Label Input field Row ends Form container end Center content ends

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 36

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 37 Space is added Form container heading Form row Second row

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 38

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 39 Footer div

2.3 Coding the design… Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 40

Summary The process to design a page layout div tag Coding a page using divs and CSS Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 41

Chapter 9, Beginning HTML, XHTML,CSS, and JavaScript, by Jon Duckett, Wiley Publishing; 2009, ISBN: Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. References