Sizing, Positioning, and Transforming Elements.

Slides:



Advertisements
Similar presentations
Web Page Design Using Tables Here you see three examples of how tables can be used to organize your content. We call this page layout or design. You can.
Advertisements

Panels, Tab Containers Doncho Minkov Telerik School Academy schoolacademy.telerik.com Technical Trainer
Android UserInterfaces Nasrullah Niazi. overView All user interface elements in an Android app are built using View and ViewGroup objects. A View is an.
Week 10 Creating Positioned Layouts
2 D and 3 D Graphics and Animations Doncho Minkov Telerik School Academy schoolacademy.telerik.com Technical Trainer
Layout using CSS. Using multiple classes In the head:.important{font-style:italic;}.title{color:red;} In the body: Here's a type of paragraph that is.
Introduction to Windows Presentation Foundation (WPF) Dr. Frank McCown COMP 445 – GUI Programming.
Cascading Style Sheets Color and Background Controls Border and Margin Controls (Boxes)
Tutorial 4: Creating page layout with css
Tutorial 6 Creating Fixed-Width Layouts
Web Development & Design Foundations with XHTML Chapter 8 Key Concepts.
Ronnie Saurenmann Principal Architect Microsoft Switzerland.
1 CS428 Web Engineering Lecture 10 Images, Tables, Forms, Border-Radius (CSS – V)
CSS to Know And this is just the beginning. What to What?  Tags = regular HTML  Ids = #id, only one hashtag per page  Class =.class, many as you want.
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.
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.
CSS Box Model. What is the CSS Box Model? The “Box Model” is a tool we use to lay out our web pages in a number of individual "boxes" or "containers".
Layouts with CSS Web Design – Section 4-12 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
Chapter 5 Creating Page Templates
Principles of Web Design 6 th Edition Chapter 7 – Page Layouts.
COMP 135 Web Site Design Intermediate Week 8. Responsive Web Design Responsive Design Adaptive Design.
1 Intro XAML Attribute syntax & property syntax Panels Reusable resources Controls Data binding Steen Jensen, spring 2014.
Actual Building the Pages Tables. Using Table Elements  To build effective page templates, you must be familiar with the HTML table elements and attributes.
Lecture # 33 Cascade Style Sheets (CSS). Cascade Style Sheets (CSS): Preserving a consistent “look and feel” of a website across multiple pages.
 Website development process  CSS  Javascript.
Web Development & Design Foundations with XHTML Chapter 8 Key Concepts.
LITTLE BOXES Controlling size of boxes Box model for borders, margin and padding Displaying and hiding boxes.
Basics of Web Design Chapter 6 More CSS Basics Key Concepts.
Week 5 Working with Tables. 2 Understanding Table Basics.
CIS234A- Lecture 7 Instructor Greg D’Andrea. Tables A table can be displayed on a Web page either in a text or graphical format. A text table: – contains.
Cascading Style Sheets Chapters 5-6 Color and Background Controls Border and Margin Controls.
CSS WORKSHOP Design Principles for Web Standards.
CSS Layout Arrangement and Positioning of the HTML Elements Svetlin Nakov Technical Trainer Software University
>> The “Box” Model. Pre-requisite Create a new project in Netbeans called Week5 Create a new html file and name it box.html Create a new css file and.
Layout With Panels. Canvas Most basic panel Position with explicit coordinates Attached properties: Left, Top, Right, Bottom HorizontalAlignment and VerticalAlignment.
Start Typical student project Advanced student project Level of final response.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 11: Deeper into CSS - Spring 2011.
+ Responsive Design Communication Strategy for Mobile, Desktop Los Alamos National Laboratory Ask a question at #interlab.
RWD: Responsive Web Design. Terms Media queries SVG Responsive Adaptive/RESS Dedicated mobile.
Chapter 5 Creating Page Templates. Principles of Web Design 2nd Ed. Chapter 5 2 Principles of Web Design Chapter 5 Objectives Understand table basics.
1 The Math of Printing & Imaging Copyright © Texas Education Agency, All rights reserved. Images and other multimedia content used with permission.
Responsive Design Design that Adapts to Different Devices SoftUni Team Technical Trainers Software University
COMPUTER PROGRAMMING I SUMMER 2011 Objective 8.01 Understand coordinate systems. (3%)
1 Mobile Computing Handling Different Display Sizes Copyright 2015 by Janson Industries.
INFO1300 LAB7 OCT.11TH RESPONSIVE DESIGN. WHAT IS RESPONSIVE WEB DESIGN A mix of flexible grids and layouts, images and an intelligent use of CSS media.
Today’s objectives Layouts | floats Measurement units Type properties
Using Tables for Layout INP150 Session #8. Layout Map out your page Design with paper and pencil Determine number of rows and columns you need Determine.
CSS Layout Arrangement and Positioning of the HTML Elements SoftUni Team Technical Trainers Software University
V 1.0 Programming III. Graphical possibilities Simple graphics (shapes)
Responsive vs. Adaptive Web Design A responsive web design will "fluidly change and respond to fit any screen or device size" An adaptive design will "change.
JavaScript and CSS
V 1.0 Programming III. Visual/FrameworkElement descendants.
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 5: HTML Tables.
What are the pros and cons of different image formatting?
CS 120: Introduction to Web Programming Lecture 10: Extra Features and Website Design Part 1 Tarik Booker CS 120 California State University, Los Angeles.
HTML 5 AND CSS Dr Mohd Soperi Mohd Zahid Semester /16.
ANDROID LAYOUTS AND WIDGETS. Slide 2 Introduction Parts of the Android screen Sizing widgets and fonts Layouts and their characteristics Buttons, checkboxes.
>> CSS Layouts. Recall Properties of Box – Border (style, width, color) – Padding – Margin – Display – Background – Dimension Welcome Padding Area Border.
Laying out Elements with CSS
CSS Box Model.
Data Representation Images.
Website Development & Management
Windows Presentation Foundation Layout with Panels
بسم الله الرحمن الرحيم الموضوع:الوضوء صفته وفرائضه وسننه
Responsive Framework.
CSS Box Model.
CSS Box Model.
Sizing, Positioning, and Transforming Elements
Positioning Boxes Using CSS
Presentation transcript:

Sizing, Positioning, and Transforming Elements

Height and Width MinHeight, MaxHeight, MinWidth, MaxWidth DesiredSize (read-only) Calculated during layout RenderSize (read-only) Final size of an element after layout is complete ActualHeight, ActualWidth (read-only) Equal to RenderSize.Height and RenderSize.Width

Margin and Padding

DIP Device-Independent Pixels 1/96 inch, regardless of the screen’s DPI setting 96 On a typical 96-DPI display, 1 dip = 1 physical pixel

Control Position Alignment HorizontalAlignment VerticalAlignment Content Alignment FlowDirection (explicitly set to match the current culture)

Applying Transforms LayoutTransform (before the element is laid out) RenderTransform (after the layout process has finished) RotateTransform ScaleTransform SkewTransform TranslateTransform MatrixTransform Not all FrameworkElements support transforms!