Interface components is a term for all the supporting elements of a page’s content. Lists Menus Forms Tables This chapter focuses on using proper, valid.

Slides:



Advertisements
Similar presentations
Chapter 1: Introduction. Contents Whats New in Dreamweaver CS4? The Dreamweaver CS4 Interface Setting Up a Site Creating a Web Page Adding Text to Your.
Advertisements

WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
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.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Advance CSS (Menu and Layout) Miftahul Huda. CSS Navigation MENU It's truly remarkable what can be achieved through CSS, especially with navigation menus.
Navigation Bars Level 2 Extended Certificate Unit B12 Doing Business Online.
Diliev.com & pLOVEdiv.com  DIliev.com.
Unit 20 - Client Side Customisation of Web Pages
Images, Tables, lists, blocks, layout, forms, iframes
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
Chapter 7 Using Advanced Cascading Style Sheets HTML5 & CSS 7 th Edition.
XHTML1 Tables and Lists. XHTML2 Objectives In this chapter, you will: Create basic tables Structure tables Format tables Create lists.
Computing Concepts Advanced HTML: Tables and Forms.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
Web Development & Design Foundations with XHTML Chapter 6 Key Concepts.
Tutorial #9 – Creating Forms. Tutorial #8 Review – Tables Borders (table, gridlines), Border-collapse: collapse; empty-cells: show; and rowspan, colspan.
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.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
Principles of Web Design 6 th Edition Chapter 10 – Data Tables.
Web Development & Design Foundations with XHTML
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
1 Macromedia Dreamweaver Outline Introduction Macromedia Dreamweaver Text Styles Images and Links Symbols and Lines Tables Forms Scripting in Dreamweaver.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
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.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Copyright © 2013 MyGraphicsLab / Pearson Education STRUCTURE AND HTML TAGS MyGraphicsLab: Adobe Dreamweaver CS6 ACA Certification Preparation for Web Communication.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
 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.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Using the CSS. What is CSS? CSS is a language that’s used to define the formatting applied to a Website, including colors, background images, typefaces.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
CHAPTER 5 Working with Data Tables and Inline Frames.
Week 8 – Part 2 Page Layout Basics Key Concepts 1.
Principles of Web Design 6 th Edition Chapter 9 – Site Navigation.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Week 2: Building a Simple Website IMC 320 Web Publishing Spring 2011.
HTML Creating Forms on a Web Page. 2 Objectives  Discuss the process of creating a form  Distinguish between data input controls and text input controls.
CONTROLLING Page layout
Positioning Objects with CSS and Tables
Learning Aim C.  In this section we will look at how text, tables, forms and frames can be used in web pages.
Stylizing a Navigational Menu Web Design Section 6-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Simple Website Layout Tutorial Using HTML 5 and CSS 3 Ref: layout-tutorial-html-5-css-3/
INT222 – Internet Fundamentals Week 8: Using New HTML features 1.
HTML AN INTRODUCTION TO WEB PAGE PROGRAMMING. INTRODUCTION TO HTML With HTML you can create your own Web site. HTML stands for Hyper Text Markup Language.
HTML Tables Tables are defined with the tag. A table is divided into rows (with the tag), and each row is divided into data cells (with the tag). td stands.
Ashima Wadhwa Java Script And Forms. Introduction Forms: –One of the most common Web page elements used with JavaScript –Typical forms you may encounter.
NAVIGATION USING HTML TO SET UP THE BASIC STRUCTURE OF A NAV BAR.
Advanced HTML Tags:.
Web Development & Design Foundations with XHTML
The Box Model in CSS Web Design – Sec 4-8
Organizing Content with Lists and Tables
Google fonts CSS box model
The Box Model in CSS Web Design – Sec 4-8
Box model.
Cascading Style Sheets (Layout)
The Box Model in CSS Web Design – Sec 4-8
Fixed Positioning.
CSS Box Model.
Web Development & Design Foundations with XHTML
CSS and Class Tools.
Principles of Web Design 5th Edition
Presentation transcript:

Interface components is a term for all the supporting elements of a page’s content. Lists Menus Forms Tables This chapter focuses on using proper, valid XHTML to create these components and how to properly design them to integrate well into a webpage.

Tables had a designated purpose when they were first developed– laying out grids of data in rows and columns à la Microsoft Excel. Stylin’ Codin’ Languages XHTML & CSS PHP & SQL Focus Interface Design Back-end Code

Make it more accessible for the visually impaired by adding scope definitions to each table header (whether the header relates to a row or a column). My Books Stylin’ Codin’ Languages XHTML & CSS PHP & SQL Focus Interface Design Back-end Code table.basic_lines { width:300px; border-top:3px solid #069; } Link to example

Further define the style of the table by adding lines around the rows. body { font:.8em verdana, sans-serif; } table.basic_lines { width:300px; border-collapse:collapse; /* Removes space between the cells */ border-top:3px solid #069; } table.basic_lines th { border-bottom:2px solid #069; } table.basic_lines td { border-bottom:1px solid #069; } table.basic_lines caption { margin-bottom:6px; } table.basic_lines td, table.basic_lines th { padding:5px 3px; } Link to example

Add some background color, and we have a nicely styled way to display rows of data. body {font:.8em verdana, sans-serif;} table.basic_lines { width:300px; border-collapse:collapse; border-top:3px solid #069; } table.basic_lines th { border-bottom:2px solid #069; background-color:#CCFFCC; } table.basic_lines td { border-bottom:1px solid #069; background-color:#FFFFCC; } table.basic_lines th[scope=“col”] { background-color:#99CCCC; } table.basic_lines td, table.basic_lines th { padding:5px 3px; border-bottom:1px solid #069; } Link to example Remember pseudo-classes?

A vital part of nearly every website is some type of form– login page, e- commerce checkouts, etc. In XHTML, it’s useful to use “label” to define what each input type does. Input Box  Simple text box. User Name Password Box  Text box, but will encrypt your type on the screen. Password Text Area  Large text box. Description Enter description

Radio Buttons  Allow one choice to be made. Check Boxes  Allow multiple choices to be made. Select Box  Drop-down box with multiple selections. Choose something Option One Option Two Submit / Reset Button  Submits / Resets the form. Link to example * In the example I added div’s and labels. Consider doing this for styling purposes. You can see a stylized version of my example here.here

A handy tool for any modern site is the tiny login. Lets put it in our two-column page on the left side navigation bar. Link to exampleLink to style sheet.

A list is a group of related text items. Ordered / unordered / definition. A menu is a list that offers navigation choices. Lists Unordered  Bulleted by default. Can change to hollow circle, etc. Ordered  Numbered by default. Can change to Roman Numerals, etc. Definition  Nested list that contains sub items.

Unordered Choice 1 Choice 2 Ordered Choice 1 Choice 2 Definition XHTML A mechanism… CSS A mechanism…

A menu, ultimately, is a list of choices. All menus are lists and should be styled as such for greatest compatibility within different browsers. Let’s start with a simple list and turn it into a menu. Gibson Fedner Rickenbacker Ibanez body { font:1.0em verdana, arial, sans-serif; } div#listcontainer { border:1px solid #000; width:160px; font-size:.75em; margin:20px; } Link to example

We’ll turn the borders on and the bullets off to make it more like a menu. body { font:1.0em verdana, arial, sans-serif; } ul {border:0; margin:10px 30px 10px 1.25em; padding:0; list-style-type:none;} li {border-bottom:2px solid #069; margin:0; padding:.3em 0; text-indent:.5em} div#listcontainer { border:1px solid #000; width:160px; font-size:.75em; margin:20px; } Link to example

Enclose the list, convert it into a menu (add links). body { font:1.0em verdana, arial, sans-serif; } ul {border:0; margin:10px 30px 10px 1.25em; padding:0; list-style-type:none;} li {border-bottom:2px solid #069; margin:0; padding:.3em 0; text-indent:.5em;} li:first-child {border-top:2px solid #069;} div#listcontainer a {text-decoration:none; color:#069;} div#listcontainer a:hover {color:#00;} div#listcontainer { border:1px solid #000; width:160px; font-size:.75em; margin:20px; } Link to example

CSS menus are one of the highly sought-after code snippets in CSS. Item 1 Item 2 Item 3 The CSS is rather long and complex and won’t fit on the PowerPoint, but we can outline a bit about how we want this to work. First set the list elements side-by-side. Style the list elements so they have a nice background color and a border. Upon hovering the mouse over the list elements, have more elements be displayed under the one you’re hovering over. When the mouse is not hovering over the original list elements or the displayed list elements, hide the displayed elements. Link to example

 Tutorials, reference guides, advanced scripting.  Many good online books on CSS and other web design techniques. Wyke-Smith, Charles. Stylin' with CSS : A Designer's Guide. Grand Rapids: New Riders, 2007.