 Add one element at a time  If it doesn’t do what you want, › Delete it › DON’T just keep piling on more items.

Slides:



Advertisements
Similar presentations
Slice and Dice: From PSD Image to XHTML+CSS Svetlin Nakov Telerik Corporation
Advertisements

Chapter 3 – Web Design Tables & Page Layout
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:
Diliev.com & pLOVEdiv.com  DIliev.com.
กระบวนวิชา 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.
Class four: the box model and positioning. is an HTML tag which allows you to create an element out of inline text. It doesn’t mean anything! try it:
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
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
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:
Interface Programming 1 Week 5. Interface Programming 1 CALENDAR.
 Next - Previous  Horizontal Bar  Vertical Menu.
4.01 Cascading Style Sheets
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.
CHAPTER 11 Tables. How Are Tables Used Data Display  Very tidy and very useful Better Text Alignment  Putting text in tables allows you to format indents.
CIT 256 Organizing Large Websites: Divs, DW Templates Dr. Beryl Hoffman.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
ITP 104.  While you can do things like this:  Better to use styles instead:
Eat Your Words! Creating webpage Layout. CONTENT The Layout of a Webpage HEADER FOOTER Each of these sections represents a ‘div’ (or divider). By linking.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
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.
Designing a Web Page with Tables. A text table: contains only text, evenly spaced on the Web page in rows and columns uses only standard word processing.
 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.
Tutorial #6 – Creating Fixed Width Layouts. Tutorial #5 Review – Box Model Every html element is surround by a box Content, Padding, Border, Margin Can.
WRA HTML & CSS – BUILDING WEBPAGES. TODAY’S AGENDA Review: external stylesheets Review: transforming a list Intro: the object Intro: the.
Week 8 – Part 2 Page Layout Basics Key Concepts 1.
Principles of Web Design 6 th Edition Chapter 9 – Site Navigation.
1 © Netskills Quality Internet Training, University of Newcastle Using Style Sheets in Dreamweaver CS © Netskills, Quality Internet Training, University.
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.
Internet Technology Dr Jing LU Updated Dr Violet Snell / Dr Kalin Penev 1 Internet Technology (week 6)  Recap: Validating HTML  Page Layout.
Designing an appealing web page. You have already finished the HTML and CSS code for creating and formatting web pages. Now that you have these skills,
CONTROLLING Page layout
1 Preparation for site Create a folder in MyDocuments: beavercheese. Create a subfolder, images Classes, career, DW beginner Download.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 5.
1 Word Processing Intermediate Using Microsoft Office 2000.
NAVIGATION USING HTML TO SET UP THE BASIC STRUCTURE OF A NAV BAR.
CSS.
CSS Layouts: Positioning and Navbars
CSS Layouts: Grouping Elements
Creating Page Layouts with CSS
Cascading Style Sheets (Layout)
Chapter 7 Page Layout Basics Key Concepts
Using CSS.
Styles and the Box Model
Fixed Positioning.
Controlling Layout with Style Sheets
Creating a Webpage with External CSS
Putting it all together
Web Development & Design Foundations with H T M L 5
How to use the CSS box model for spacing, borders, and backgrounds
Training & Development
Floating and Positioning
Building a website: Putting it all together
Multipage Sites.
Presentation transcript:

 Add one element at a time  If it doesn’t do what you want, › Delete it › DON’T just keep piling on more items

 Good for general questions, › NOT for debugging your work  Very hard to guess what else you have (or don’t have) in your CSS  And please don’t post a lot of code

 Revisions and saving  SAVE  UPDATE  SET AS BASE  But Komodo gives you more hints to help

 No regrades. Period. › We will fix errors in grading, but NO reworking  No lates until after the first exam.  Labs › Do not ask for help on labs before we start working on them › Only grading of labs outside of class are excused absence or our mistakes  Switching to single form

 Word doc for you to download › Link at the beginning of class › 7 Questions. Drop low  Answers to be added inline  Post to Sakai when completed  SAVE TO YOUR DESKTOP OFTEN

 Just what you have already been doing › Writing and correcting HTML and CSS  Objective: to see if you can do the tasks in a limited time on your own  Open computer and notes › You can use any tools at your disposal (except chat)

 When class begins have ready › jsFiddle › Komodo › Link to validators  How to proceed › Build your answer in one of the tools › Validate it › Copy and paste into test

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

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

 Consistent placement  Top, bottom, both  Often at the left and right edges  Next week  Structurally keep them together NAV  Text  Images  Also next week

 IDENTICAL CONTENT ON ALL PAGES › May want to distinguish current page visually › Do not recommend using #, use page name  Horizontal or Vertical  Horizontal › separate section: nav › inline list › Bottom (repeat)  Vertical two styles › Table of contents › Side bar (next week)  Better for long lists  Takes width

 Should you distinguish?  Two different bars › Horizontal (site) and vertical (page) › Color, size, font differentiation

 Remove bullets from list li { list-style-type: none; }  Make the list horizontal li { display: inline; }  Position where you want it (left, right, center, top, bottom)

 Format the individual link boxes li { border: 1px solid black; padding: 10px; margin: 0px 1px 0px 1 px; }  Padding will space within box, margin between boxes › May want to make it negative  Size of box › Vertical: line-height › Horizontal: based on text or define width

 Focus on layout  Simple is best  Basic parts › Header › Nav(igation) – may be in header › Section or div for main body › Footer

 Recommendation › Keep nav bar code the same on all pages › Simple copy and paste  This page: › Can use href=“#” or disable link › But then have to remember to change it › Less problematic if you format “this page” differently

 Margins  Positions  Heights

 How wide should your elements be? › Consistency › Enough white space  People have spent time working on it › 978 model 978 model  Example Example