© 2011 Delmar, Cengage Learning Chapter 10 Positioning Objects with AP Divs.

Slides:



Advertisements
Similar presentations
© 2010 Delmar, Cengage Learning Chapter 9 Positioning Objects with AP Div Tags.
Advertisements

© 2010 Delmar, Cengage Learning Chapter 5 Positioning Objects with CSS and Tables.
Chapter 3 – Web Design Tables & Page Layout
1 Web Site Design Overview of the Internet Cookie Setton.
DREAMWEAVER ‘ANATOMY’ EXPLAINED.
Working with Behaviors in DW Marion Setton. You may be familiar with divs and how to construct them generally using Dreamweaver CS5, but you can also.
Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
Week 10 Creating Positioned Layouts
1 Cascading Style Sheets Continued Different kinds of selectors in a style sheet –Simple- Pseudo-Class –Contextual- Pseudo-Element –Class Image Styles.
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.
Tutorial 6 Creating Fixed-Width Layouts
TUTORIAL 4: CREATING PAGE LAYOUT WITH CSS Session 4.3.
Ch. 6 Web Page Design – Absolute Positioning, Image Maps, and Navigation Bars Mr. Ursone.
Using CSS for Page Layout. Types of HTML Elements Block-Level Element –Creates blocks of content e.g. div, h1..h6, p, ul, ol, li, table, form –They start.
Chapter 3 Tables and Page Layout
Web-based Application Development Lecture 9 February 7, 2006 Anita Raja.
Working with Text and Cascading Style Sheets Adobe Dreamweaver Chapter 3.
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.
© 2011 Delmar, Cengage Learning Chapter 2 Developing a Web Page.
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.
Organizing Content by Using Dreamweaver CS5 Domain 5.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
Advanced CSS - Page Layout. Advanced CSS  Compound Selectors:  Is a Dreamweaver term, not a CSS term.  Describes more advanced types of selectors such.
Chapter 3 Dreamweaver: Part I The Web Warrior Guide to Web Design Technologies.
Tutorial 4: Using CSS for Page Layout. 2 Objectives Session 4.1 Explore CSS layout Compare types of floating layouts Examine code for CSS layouts View.
© Ms. Masihi.  The Dreamweaver Welcome Screen first opens when you start Dreamweaver.  This screen gives you quick access to previously opened files,
Adding User Interactivity – Lesson 51 Adding User Interactivity Lesson 5.
Copyright © Terry Felke-Morris CSS Flow & Positioning 1 Copyright © Terry Felke-Morris.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
Adobe Dreamweaver CS3 Revealed CHAPTER FIVE: USING HTML TABLES TO LAY OUT A PAGE.
© 2011 Delmar, Cengage Learning Chapter 8 Using Styles and Design Style Sheets for Design.
CSCE 102 – Chapter 6 (Web Design and Layout) CSCE General Applications Programming Benito Mendoza Benito Mendoza 1 By Benito Mendoza.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
Creating a rotating image banner Activity 7 Procedure Creating AP Elements 1.Start Dreamweaver and select the ‘Hong Kong Scenery’ web site. 2. Create a.
Layers, Image Maps, and Navigation Bars
Svetlin Nakov Telerik Corporation
© 2011 Delmar, Cengage Learning Chapter 3 Working with Text and Cascading Style Sheets.
Tutorial 3 Adding and Formatting Text with CSS Styles.
THE BOX MODEL Putting layouts together with CSS. The Box Model  How would you describe a box?  Container?  Tags or elements are “containers”  puts.
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.
Cascading Style Sheets Positioning Controls Visibility.
INTRODUCTORY Tutorial 5 Using CSS for Layout and Printing.
Positioning and Printing Creating Special Effects with CSS.
Headings are defined with the to tags. defines the largest heading. defines the smallest heading. Note: Browsers automatically add an empty line before.
Web Technologies Beginning Cascading Style Sheets (CSS) 1Copyright © Texas Education Agency, All rights reserved.
CONTROLLING Page layout
Positioning Objects with CSS and Tables
Today’s objectives  Announcements  Positioning  Measurement units.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 6 1 Creating Dynamic Pages.
Mimi Opkins.  One of the major benefits of using CSS is that you’re not forced to lay your sites out in tables.  The layout possibilities of CSS give.
Tutorial 4 Using CSS for Page Layout. Objectives Session 4.1 – Explore CSS layout – Compare types of floating layouts – Examine code for CSS layouts –
Laying out Elements with CSS
Cascading Style Sheets Layout
CSS Layouts: Grouping Elements
Cascading Style Sheets
Positioning Objects with CSS and Tables
Chapter A - Getting Started with Dreamweaver MX 2004
Programming the Web using XHTML and JavaScript
Objectives Create a reset style sheet Explore page layout designs
Styles and the Box Model
Controlling Layout with Style Sheets
Tutorial 6 Creating Dynamic Pages
DREAMWEAVER MX 2004 Chapter 3 Working with Tables
DREAMWEAVER MX 2004 Chapter 7 Working with Layers
Floating and Positioning
Positioning.
Exercise 9 Skills You create and use styles to create formatting rules that can easily by applied to other pages in the Web site. You can create internal.
Positioning Objects with CSS and Tables
Presentation transcript:

© 2011 Delmar, Cengage Learning Chapter 10 Positioning Objects with AP Divs

© 2011 Delmar Cengage Learning 1.Insert an AP div 2.Set the position and size of an AP element 3.Add content to an AP element 4.Set AP element properties Chapter 10 Lessons

© 2011 Delmar Cengage Learning With CSS layout blocks, you use containers formatted with CSS styles to place content on web pages. You can set the appearance and position of these containers using HTML tags known as div tags. Positioning Objects with AP Divs

© 2011 Delmar Cengage Learning An AP div tag creates a div with a fixed position on your web page. You can add behaviors to your AP divs with JavaScript. JavaScript is a program that is used to add interactivity to web pages. Positioning Objects with AP Divs

© 2011 Delmar Cengage Learning Positioning Objects with AP Divs Tools You’ll Use

© 2011 Delmar Cengage Learning AP elements are page elements that are absolutely positioned or assigned a fixed position on a web page. You should use guides when placing and aligning divs so their locations are consistent. Insert an AP Div

© 2011 Delmar Cengage Learning A fold line indicates where the paper is folded in half. Dreamweaver uses the tag to create an AP div. An AP div is like a separate HTML document within a web page. Insert an AP Div

© 2011 Delmar Cengage Learning If you add more information than the div can display, you will need to tell Dreamweaver how to handle the overflow. The Clip property identifies the portion of an AP div’s content that is visible in a web browser. Insert an AP Div

© 2011 Delmar Cengage Learning The Vis property lets you control whether the selected AP div is visible. Inherit means that the visibility of the AP div is automatically inherited from its parent AP div or page. The overflow property specifies how you treat excess content that does not fit inside an AP div. Insert an AP Div

© 2011 Delmar Cengage Learning Using AP divs for placing interactive content Insert an AP Div

© 2011 Delmar Cengage Learning Absolute positioning means that the AP element will be locked in a fixed position on the page regardless of the size of the browser window. You can control the placement of AP elements by setting their attributes in the Property inspector. Set the Position and Size of an AP Element

© 2011 Delmar Cengage Learning The Left property (L) specifies the distance between the left edge of an AP element and the left edge of the page that contains it. The Top property (T) specifies the distance between the top edge of your AP element and the top edge of the page. Set the Position and Size of an AP Element

© 2011 Delmar Cengage Learning The Width (W) and the Height (H) properties specify the dimensions of the AP element, usually in pixels. The Z-index property specifies the vertical stacking order of AP elements. Set the Position and Size of an AP Element

© 2011 Delmar Cengage Learning AP div with width and height adjusted H=176pxW=250px AP div is resized, but stays in same position Set the Position and Size of an AP Element

© 2011 Delmar Cengage Learning If you add more content than the preset image size, the AP element will expand to display the content on your page in Dreamweaver. You should use CSS to format your text on an AP element. Add Content to an AP Element

© 2011 Delmar Cengage Learning Inserting a background image for an AP div Add Content to an AP Element Image serves as AP div backgroundBg image= two_children_on_beach.jpg

© 2011 Delmar Cengage Learning Use the AP Elements panel to control the visibility, name, and Z-index order of all the AP elements on a web page. Nested AP elements are those whose HTML code is included within another AP element’s code. Set AP Element Properties

© 2011 Delmar Cengage Learning You can use the AP Elements panel to: –Change a series of AP element names –Control AP element visibility while testing a site –Control the visible stacking order Set AP Element Properties

© 2011 Delmar Cengage Learning When you insert an AP on a web page, its position is relative to the top left corner of the browser window. Problems may arise if the page is viewed in different browser window sizes. Set AP Element Properties

© 2011 Delmar Cengage Learning Set AP Element Properties AP elements in browser windowAP elements in wider browser window

© 2011 Delmar Cengage Learning If you don’t want AP elements to shift, depending on the browser window size, you can: –Set the Positioning property of the div tag you wish to use as the parent container –Cut and paste the code for the AP elements after the beginning tag for the parent container Set AP Element Properties