CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. September 22, 2010—All HTML code brought to XHTML standards. Reference for CIS127 and.

Slides:



Advertisements
Similar presentations
Information Technology Quiz Questions with Answers Part 9
Advertisements

Web Center Certification Sitemap / Formatting Content Web Center Certification Training Intuit Financial Services University.
Copyright © 2003 Pearson Education, Inc. Slide 3-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
Copyright © 2003 Pearson Education, Inc. Slide 5-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
Chapter 1 Image Slides Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
LIS650 lecture 4 Thomas Krichel today Advice CSS Properties –Box properties-- List properties –Table properties-- Classification properties.
LIS650 lecture 4 Thomas Krichel today CSS Properties –Box properties-- List properties –Table properties-- Classification properties –(Audio.
LIS650 lecture 4 Thomas Krichel today Advice CSS Properties –Box properties –List properties –Classification properties Fun with selectors.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Copenhagen, 6 December 2004 Modern CSS Principles Miruna Bădescu Finsiel Romania.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
ZMQS ZMQS
ABC Technology Project
Social Web Design 1 Darby Chang Social Web Design.
© 2010 Delmar, Cengage Learning Chapter 9 Positioning Objects with AP Div Tags.
1 Tables and Lists. 2 Are Tables still needed? Tables were once used to help structure and style our pages CSS now replaces most of the old uses for tables.
Creating Tables in a Web Site
Basic HTML Workshop LIS Web Team Spring 2007.
HIGH LEVEL OVERVIEW: CSS CSS SYNTAX CONSISTS OF A SET OF RULES THAT HAVE 3 PARTS: A SELECTOR, A PROPERTY, AND A VALUE. IT’S NOT NECESSARY TO REMEMBER THIS.
© 2012 National Heart Foundation of Australia. Slide 2.
How to create a wiki using pbwiki. Step 1: Choose a wiki website I have chosen.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. October 11, 2010—All HTML code brought to XHTML standards.
Addition 1’s to 20.
Dr. Alexandra I. Cristea XHTML.
25 seconds left…...
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
Week 1.
Week 10 Creating Positioned Layouts
© 2011 Delmar, Cengage Learning Chapter 10 Positioning Objects with AP Divs.
We will resume in: 25 Minutes.
Chapter 11 Creating Framed Layouts Principles of Web Design, 4 th Edition.
Chapter 13 Web Page Design Studio
What’s new in WebSpace Changes and improvements with Xythos 7.2 Effective June 24,
J ENWARE Chapters 14 & 15 Learning Web Design, Fourth Edition by Jennifer Niederst Robbins Copyright © 2012.
HTML Concepts and Techniques Fourth Edition Project 2 Creating and Editing a Web Page.
CSS Layout Crash Course An Advance CSS Tutorial. Inline vs. Block Many HTML elements have a default display setting of Block. Block elements take up the.
Part 5 Introduction to CSS. CSS Display - Block and Inline Elements A block element is an element that takes up the full width available, and has a line.
CSS Menus and Rollovers. Agenda foil Separating style from content 3 pages in one file Rollovers in CSS Horizontal drop-downs Vertical drop-downs.
CIS 1310 – HTML & CSS 6 Layout. CIS 1310 – HTML & CSS Learning Outcomes  Describe & Apply the CSS Box Model  Configure Float with CSS  Designate Positioning.
XP 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
Tutorial 4 Creating Special Effects with CSS
MORE Cascading Style Sheets (The Positioning Model)
Slide 1 of 83 Table Borders To specify table borders in CSS, use the border property. The example below specifies a black border for table, th, and td.
Updated on: September 4, 2010 CIS67 Foundations for Creating Web Pages Professor Al Fichera.
Tutorial 4 Creating Special Effects with CSS. XP Objectives Work with CSS selectors Create styles for lists Create and apply class styles Create a rollover.
CSS Positioning Creating Special Effects with CSS CS202 Working with Cascading Style Sheets (Chapter 4) CS202 1.
Intro to Dreamweaver Web Design Section 7-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Reference for CIS127 and CIS 137.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. September 14, 2010—All HTML code brought to XHTML standards. Reference for CIS127 and.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. August 25, 2010—All HTML code brought to XHTML standards.
HTML.
Cascading Style Sheets Positioning Controls Visibility.
Positioning and Printing Creating Special Effects with CSS.
Tutorial 4 Creating Special Effects with CSS. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Work with CSS selectors.
Tutorial 4 Creating Special Effects with CSS. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Work with CSS selectors.
Tutorial 4 Creating Special Effects with CSS. XP Objectives Work with CSS selectors Create styles for lists Create and apply class styles Create a rollover.
The Web Wizard’s Guide To DHTML and CSS Chapter 2 A Review of CSS2 and JavaScript.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. September 22, 2010—All HTML code brought to XHTML standards. Reference for CIS127 and.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. August 25, 2010—All HTML code brought to XHTML standards. Reference for CIS127 and CIS.
Working with Cascading Style Sheets
CSS Layouts: Grouping Elements
Cascading Style Sheets
The Web Wizard’s Guide To DHTML and CSS
MORE Cascading Style Sheets (The Positioning Model)
Tutorial 4 Creating Special Effects with CSS
Presentation transcript:

CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. September 22, 2010—All HTML code brought to XHTML standards. Reference for CIS127 and CIS 137

Content Control with overflow What happens if create a text box on the page and the content of a box is bigger than the height and/or width you've defined for it? You can decide with the overflow attribute. The overflow choices are: visible hidden auto scroll September 22, CSS Styles Visibility by Professor Al Fichera

Content Control: overflow:visible VISIBLE— all the content will be displayed, even if it goes outside the declared boundaries of the box. div { width:150px; height:150px; overflow:visible; } September 22, CSS Styles Visibility by Professor Al Fichera

Content Control: overflow:hidden HIDDEN— the browser clips off whatever content goes "over the line." div { width:150px; height:150px; overflow:hidden; } September 22, CSS Styles Visibility by Professor Al Fichera

Content Control: overflow:auto AUTO— the content will be clipped, but this time the browser will display a scrollbar if it's needed, so the user can get to the rest of the content. div { width:150px; height:150px; overflow:auto; } September 22, CSS Styles Visibility by Professor Al Fichera

Content Control: Overflow Scroll SCROLL— the content will be clipped, but this time the browser will always display a scrollbar, even if it's not required. div { width:150px; height:150px; overflow:scroll; } September 22, CSS Styles Visibility by Professor Al Fichera

CSS Controls visibility of Elements With CSS, you can actually make elements invisible or hidden on the page. visible makes the element visible. hidden makes the element invisible. inherit means it will inherit its visibility from its parent element. September 22, CSS Styles Visibility by Professor Al Fichera

CSS Control: visibility:visible span { visibility: visible } September 22, CSS Styles Visibility by Professor Al Fichera

CSS Control: visibility:hidden span { visibility: hidden } September 22, CSS Styles Visibility by Professor Al Fichera

CSS Control: visibility:hidden When an element is hidden, it still takes up the same amount of room in the browser window. If you're wrapping text around an image that you've hidden, the “text will appear to wrap around an empty space”. September 22, CSS Styles Visibility by Professor Al Fichera

Element Visibility If visibility is set to hidden, the element will still be in the document, taking up space, but will be invisible and appear as a big empty rectangle where the image should be. For example:.hide1 {visibility: hidden;} In the body place the following: content here September 22, CSS Styles Visibility by Professor Al Fichera

Drop-Down Menus Here is a practical application for Visibility as a DHTML Menu for your Web page navigation. This code uses a bit of JavaScript for implementation, and is shown in the next few slides. September 22, CSS Styles Visibility by Professor Al Fichera

Create in a Style Block In the Head will have to create a small Style block to begin. #menu1 { display: none; margin-left:20px; } #menu2 { display: none; margin-left:20px; } #menu3 { display: none; margin-left:20px; } #menu4 { display: none; margin-left:20px; } September 22, CSS Styles Visibility by Professor Al Fichera

Create an onClick Event Handler A small onClick event begins the project in the body of the page. <span onclick="if (document.all.menu1.style.display == 'block') {document.all.menu1.style.display = 'none';} else {document.all.menu1.style.display='block';}"> DHTML Drop-Down Menu September 22, CSS Styles Visibility by Professor Al Fichera

Create the span Tag Container Then you’ll add the menu choices for the drop menu. DHTML Menu DHTML Link 01 DHTML Link 02 DHTML Link 03 DHTML Link 04 September 22, CSS Styles Visibility by Professor Al Fichera

Create a Second onClick Event The next Drop-Down link is created. <span onclick="if (document.all.menu2.style.display == 'block') {document.all.menu2.style.display = 'none';} else {document.all.menu2.style.display='block';}"> JavaScript Menu September 22, CSS Styles Visibility by Professor Al Fichera

Create the 2 nd span Tag Container Then you’ll add the menu choices for the drop menu. CSS-P Menu CSS-P Link 01 CSS-P Link 02 CSS-P Link 03 CSS-P Link 04 September 22, CSS Styles Visibility by Professor Al Fichera

Continue adding menu choices as needed by repeating the previous choices with new content. The results are seen in the next few slides from the collapsed version in the Safari Browser, to fully expanded menu choices. You'll find the results the same in the MSIE Browser. Unfortunately for now I don't have a fix for the Firefox Browser, perhaps one of you will create a fix for me? The Expand/Collapse Menu September 22, CSS Styles Visibility by Professor Al Fichera

The Expand/Collapse Menu September 22, CSS Styles Visibility by Professor Al Fichera

The Expand/Collapse Menu September 22, CSS Styles Visibility by Professor Al Fichera

September 22, 2010 CSS Styles Visibility by Professor Al Fichera 21 The Expand/Collapse Menu

September 22, CSS Styles Visibility by Professor Al Fichera

This Menu Can Hold Hidden Images Images can be used just as easily as text. Perhaps this could be a new way to show off some of your larger images without taking up so much space on the page. Simply insert an Image Tag in place of the menu text. September 22, CSS Styles Visibility by Professor Al Fichera

Collapse the Images From View September 22, CSS Styles Visibility by Professor Al Fichera

Show The Images With onClick September 22, CSS Styles Visibility by Professor Al Fichera