Fixed Positioning.

Slides:



Advertisements
Similar presentations
The Web Wizards Guide to HTML Chapter Six Tables.
Advertisements

Chapter 3 – Web Design Tables & Page Layout
MS-Word XP Lesson 4.
CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style.
Cascading Style Sheets
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Today CSS HTML A project.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
FORMATTING IN CONTEXT. FOLLOW UPS ANCHOR POINTS MUST BE UNIQUE  If you have more than one, how does it know where to go?  They can be repeated across.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
Principles of Web Design 5 th Edition Chapter Nine Site Navigation.
SM5312 week 11: CSS Menus & Navigation Bars1 An Introduction to Cascading Style Sheets CSS Menus and Navigation Bars Nick Foxall.
Advance CSS (Menu and Layout) Miftahul Huda. CSS Navigation MENU It's truly remarkable what can be achieved through CSS, especially with navigation menus.
CIS 1310 – HTML & CSS 6 Layout. CIS 1310 – HTML & CSS Learning Outcomes  Describe & Apply the CSS Box Model  Configure Float with CSS  Designate Positioning.
Navigation Bars Level 2 Extended Certificate Unit B12 Doing Business Online.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
ADVANCED CSS William Neely CEO, Piecewise.com. CSS FONTS AND TEXT CSS ‣ Line-height allows to indicate the amount of space between lines; allows for equal.
Unit 20 - Client Side Customisation of Web Pages
Tutorial 4: Creating page layout with css
 CSS Presentation and layout is based on the CSS Box Model.  The CSS Box Model states that every element on a page is a rectangular box.  This includes:
 Next - Previous  Horizontal Bar  Vertical Menu.
Working with Cascading Style Sheets. 2 Objectives Introducing Cascading Style Sheets Using Inline Styles Using Embedded Styles Using an External Style.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
1 The Structure of a Web Table beginning of the table structure first row of three in the table end of the table structure table cells You do not need.
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.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
Web Design, 3 rd Edition 4 Planning a Successful Web Site: Part 2.
Web Design, 4 th Edition 4 Planning a Successful Web Site: Part 2.
Website Development with Dreamweaver
Today’s objectives  Assignment 1  Padding, Margins, Borders  Fluid Layout page  Building accessible Table  Element size with padding and border 
 Word doc for you to download › Link at the beginning of class › 10 Questions › Answers to be added inline  Post to Sakai when completed › No resubmits.
 Remember that HTML is just text  Need to point to pictures  Use the img tag  alt: › screen reader › REQUIRED for this class and to validate.
IT: Web Technologies: Web Animation 1 Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Designing Web Site Layout Using.
CSS Fun damentals The Document Hierarchy Element Relationships The Box Model.
INTRODUCTORY Tutorial 5 Using CSS for Layout and Printing.
CNIT 132 – Week 4 Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of.
CONTROLLING Page layout
Today’s objectives  Announcements  Positioning  Measurement units.
 Add one element at a time  If it doesn’t do what you want, › Delete it › DON’T just keep piling on more items.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 5.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
NAVIGATION USING HTML TO SET UP THE BASIC STRUCTURE OF A NAV BAR.
WebD Introduction to CSS By Manik Rastogi.
Cascading Style Sheets for layout
CSS.
Laying out Elements with CSS
Working with Cascading Style Sheets
Create and edit web pages 4
>> Navigation and Layouts in CSS
CSS Layouts: Positioning and Navbars
CSS Layouts: Grouping Elements
Concepts for fluid layout
Creating Page Layouts with CSS
Advanced CSS BIS1523 – Lecture 20.
Cascading Style Sheets for layout
Cascading Style Sheets (Layout)
Creating a Baseline Grid
Layout - you need to understand that a simple navigation bar:
Styles and the Box Model
Cascading Style Sheets™ (CSS)
How to use the CSS box model for spacing, borders, and backgrounds
Floating and Positioning
Laying out Elements with CSS
Multipage Sites.
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Concepts for fluid layout
Presentation transcript:

Fixed Positioning

Web sites with fixed elements Top navigation on http://www.thelounge.fi/ Sidebar on http://girlwithacamera.co.uk/

Then identify the position Simple CSS to do it position: fixed; Then identify the position top, bottom left, right Use px or % Places THAT edge

Multisite Page Styles

Structuring Site Navigation Three possible models NEXT and PREV (when fixed order) Navigation bar to the parts Single page with links (hub & spokes) Splash pages When use? Mix and match? Multiple ways?

Guidelines Link to the exact spot Heading, not paragraph Top of the page Make it easy to get to the navigation TOO MUCH NAVIGATION IS AS BAD AS NONE! NEVER DEPEND ON BROWSER BACK BUTTON

Next - Previous Consistent placement Top, bottom, both Often at the left and right edges Structurally keep them together NAV Text Images

Navigation Bar IDENTICAL CONTENT ON ALL PAGES Horizontal May want to distinguish current page visually Do not use #, use page name Horizontal separate section: nav inline list Bottom Vertical two styles Table of contents Side bar (Better for long lists) Takes width

Combination

Navigation bars Make the list horizontal, remove bullets Position <ul> where you want it (left, right, center, top, bottom) Format the individual link boxes Size of box Vertical: line-height Horizontal: based on text or define width Make the link fill the item space

Page Layout

Should you distinguish? Two different bars Page / Site Links Should you distinguish? Two different bars Horizontal (site) and vertical (page) Color, size, font differentiation

How to Tailor Layout Margins Positions Heights

Useful Layout Model: Grid How wide should your elements be? Consistency Enough white space People have spent time working on it 978 model Example What is it? A tool which is useful for planning the layout of your website

Challenge

Problem Use the SAME header HTML on every page of a 3-page website Use a single CSS Change the link for the current page to have a different background color That is P1 P2 P3 On P1 P1 P2 P3 On P2 P1 P2 P3 On P3