Unit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 4 The Box Model
|
|
- Arabella Preston
- 6 years ago
- Views:
Transcription
1 Unit 20 - Client Side Customisation of Web Pages Week 2 Lesson 4 The Box Model
2 Last Time Looked at what CSS is Looked at why we will use it Used CSS In-line Embedded (internal style-sheet) External <link rel= stylesheet href= mystyle.css > <style title= currrentstyle media= screen mystyle.css </style>
3 Some definitions Selector Property Value elements
4 Selectors Selector title Property the item being changed Value - How much it is being changed E.g. H1{color: red} specifies that h1 will always give a red colour Element each area of the page; may be a wide variety from <body> to <p>
5 Types of Selector
6 Web-page structure Different elements that can be nested within one another. Style commands: body{ background-color: aqua; font-size: 100%; } div{ Width: 30%; }.feedback{ color: #00ff00; } #footnote{ font-size: 0.2em; } HTML <body> <div> </body> <div class= feedback ></div> <div class= feedback ></div> </div> <div id= footnote ></div>
7 Box Model CSS creates layout of web-pages View in any browser, At any resolution design integrity should remain. Layout recalculated on each opening Pages can be designed very accurately pixel perfect
8 Content area Place the text, images etc here Usually have more than one on each page CSS.item{ width: 20%; background-color: aqua; color: red; } HTML <div class= item >some text <img src= images/#.jpg alt= my image description in words /> </div>
9 Page of examples Create a web-page BoxEG.html with the following elements: <body> custom background-color or background-image <div id= wrapper > custom backgroundcolor, width ~80% 2 <div> containing an image 2 <p> custom color, 2 paragraphs of lorem ipsum in each
10 BoxEG Should look something like image1 #wrapper image2 Text in paragraphs Body
11 Padding Blank space around the content so that it doesn't impinge on the border (or vice versa). Is optional, if not defined is set to zero (invisible).
12 Padding examples Add padding to the divs with images in them. div { padding: 5px; } Record the code, screen-shot the corresponding webpage element Change the padding e.g. to 50 px, record the code, screen-shot the corresponding web-page element. Write a brief description of how padding has affected the appearance of the element.
13 Border Designed area at the edge around the content (outside the padding). Is optional, if not defined is set to zero (invisible). Can define: Width Color Style (limited list use W3C to find out what these are
14 Border examples Add a border to the div id= wrapper. #wrapper{ Border: 5px solid red; } record the code, screen-shot the corresponding webpage element. Add other borders change width, colour and style. Possible styles are: dotted, dashed, solid, double, groove, ridge, inset, outset. Record as above. Write a brief description of how the border has affected the appearance of the element.
15 Margin Blank space around the edge of everything to protect it from the edge of the screen or other nearby elements. Is optional, if not defined is set to zero (invisible). Can be negative.
16 Margin example Add a margin to both of the <p> elements. p { Margin: 10px; } record the code, screen-shot the corresponding webpage elements. Change the margin e.g. to 50 px, or -10px (margins can take a negative value), record the code, screen-shot the corresponding web-page elements. Write a brief description of how margin has affected the relative positions of the element.
17 CSS Box Model Structures pages like a table Defines: Margins Borders Padding Content
18 Box model Can define height & width for each area Can be set separately Margins can have negative values Usually set as either pixels or percentages Percent of screen is best for layout consistency Can be in-line or blocked
19 Box Model <html> <head> <style type="text/css"> div { width:220px; padding:0px; border:5px solid gray; margin:0px; } </style> </head> <body> Copy this code then vary Padding Border Margin Use big variations <img src= #.gif" width="250" height="1" /><br /><br /> <div >This div is 220px wide</div> </body> </html> Observe the effect, take screen shots of your code and the effect!
20 Accessing CSS from HTML One of these needs to be in the head section of each web-page <link rel= stylesheet type= text/css href= class.css /> or <style type = text/css title= currentstyle media= screen style.css ; </style>
21 CSS task Create examples for each of the following: Background colour Background images Formatting text Applying borders Applying padding Heading styles Positioning elements Creating columns Take screen-shots of the code and the result. Border-radius: 5px;
22 CSS task continued Note how your examples affected the formatting Alter the values and note how that changes the formatting
23 Background colour <html> 2. <head> 3. <style> 4. body {background-color: yellow} 5. </style> 6. </head> 7. <body> 8. </body> 9. </html>
24 Background images <html> 2. <head> 3. <style> 4. body {background-image: url( picture.jpg )} 5. </style> image must be in the same folder 6. </head> as web-page or whole file-path. 7. <body> 8. </body> 9. </html>
25 Formatting text <html> 2. <head> 3. <style> 4. h1{font-family: serif; font-style: italic; font-weight: bold; font-size: 200px; color: green;} 5. </style> 6. </head> 7. <body> 8. <h1> Lorem ipsum </h1> 9. </body> 10. </html>
26 Applying borders <html> 2. <head> 3. <style> 4..border1 {border-style: groove} 5..border2 {border-style: double solid} 6..border3 {border-style: double solid groove} 7. </style> 8. </head> 9. <body> 10. <p class= border1 > Lorem ipsum </p> 11. <p class= border2 >dolor sit amet</p> 12. <p class= border3 >consectetur adipiscing elit</p> 13. </body> 14. </html>
27 Applying padding. <html> 2. <head> 3. <style> 4..padding1 {padding: 1cm} 5..padding2 {padding: 0.5cm 1.5cm} 6. </style> 7. </head> 8. <body> 9. <table border= 1 > 10. <tr> 11. <td class= padding1 >dolor sit amet</td> 12. </tr> 13. </table> 14. <br> 15. <table border= 1 > 16. <tr> 17. <td class= padding2 > consectetur adipiscing elit </td> 18. </tr> 19. </table> 20. </body> 21. </html>
28 Heading styles <html> 2. <head> 3. <style> 4. h1{ 5. background: red; 6. color: white; 7. font-family: times new roman; 8. font-style: italic; 9. } 10. h2{ 11. text-align: center; 12. text-decoration: underline; 13. font-size: xx-large; 14. Font-weight: bold; 15. } 16. </style> 17. </head> 18. <body> 19. <h1> Sed ac odio eu massa </h1> 20. <br> 21. <h2> mattis pellentesque a </h2> 22. </body> 23. </html>
29 Positioning elements <html> 2. <head> 3. <style> 4..position_relative {position:relative;left;20px} 5.. position_absolute {position:absolute;left;200px;top:20px} 6..border3 {border-style: double solid groove} 7. </style> 8. </head> 9. <body> 10. Suspendisse ac orci tortor 11. <p class=position_relative>dolor sit amet</p> 12. <p class=. position_absolute> consectetur adipiscing elit</p> 13. </body> 14. </html>
30 Positioning elements Static Default, next line (or floating) Relative lays out all elements as though the element were not positioned, and then adjust the element's position, without changing layout leaves a gap for the element Absolute fixed
31 Positioning elements Static Relative Absolute Instead, position it at a specified position relative to its closest positioned ancestor if any, or otherwise relative to the initial containing block. No gap. Fixed position it at a specified position relative to the screen's viewport and don't move it when scrolled. No gap.
32 Creating columns <html> 2. <head> 3. <style> 4..nav { 5. width: 220px; 6. padding: 10px; 7. float: left; 8. } 9..content { 10. padding: 10px; 11. margin-left: 230px; 12. border-left: 1px solid #006; 13. } 14..footer { 15. Border-top: 1px solid #006; 16. Text-align: right; 17. } 18. </style> 18. </head> 19. <body> 20. Lorem ipsum 21. <div class= nav >Suspendisse aliquet</div> 22. <div class= content >porta sapien</div> 23. <div class= footer >eget dignissim</div> 24. </body> 25. </html>
33 Columns (Newspaper) <head> <style type="text/css">.newspaper { -moz-column-count:3; /* Firefox */ -webkit-column-count:3; /* Safari and Chrome */ column-count:3; } </style> </head> <body> <div class="newspaper"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad... </div> </body> </html>
34 Advantages of CSS Controlling & editing layout is faster House style more consistent all pages use same style sheet Smaller file sizes formatting in one file not duplicated across all web-pages Accessibility for users with screen readers improved.
35 Assignment 1 P1 explain how HTML files access CSS P2 explain the features of the box model for CSS M1 assess different implementation styles of CSS
36 Effects and Treatments You have this way out font you would like to use e.g. Shelley Allegro You know it does not display very well in a browser... What to do??????
37 Image Replacement Well, actually we replace the text... eplace-text.html
38 Summary Looked at what CSS is Looked at why we will use it Actually used our first CSS
Unit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 4 The Box Model
Unit 20 - Client Side Customisation of Web Pages Week 2 Lesson 4 The Box Model So far Looked at what CSS is Looked at why we will use it Used CSS In-line Embedded (internal style-sheet) External
More information2005 WebGUI Users Conference
Cascading Style Sheets 2005 WebGUI Users Conference Style Sheet Types 3 Options Inline Embedded Linked Inline Use an inline style sheet to modify a single element one time in a page.
More informationFirst Diploma Unit 10 Client Side Web. Week 4 -The CSS Box model
First Diploma Unit 10 Client Side Web Week 4 -The CSS Box model Last Session CSS Basics Fonts Real world site This Session CSS box model Concept of identity -id The CSS box model represents every element
More informationUnit 20 - Client Side Customisation of Web Pages WEEK 5 LESSON 6 DESIGNING A WEB-SITE
Unit 20 - Client Side Customisation of Web Pages WEEK 5 LESSON 6 DESIGNING A WEB-SITE Today s tasks This lesson is on the wiki: Design Exercise (for A3); corporate theme in primary design 3rd November
More informationMichPA Content Guide. Table of Contents. Website Section Overview. Global Banner & Navigation. Content Area Client editable
Table of Contents Website Section Overview MichPA Content Guide Website Section Overview...1 FAQ...2 Content Area Styles...3 Client-side Right Navigation Styles...4 Font Index...5 Color Index...5 Rotating
More informationChapter 3 CSS for Layout
Chapter 3 CSS for Layout Chapter two introduced how CSS is used to manage the style of a webpage, this chapter explores how CSS manages the layout of a webpage. Generally a webpage will consist of many
More informationAppendix D CSS Properties and Values
HTML Appendix D CSS Properties and Values This appendix provides a brief review of Cascading Style Sheets (CSS) concepts and terminology, and lists CSS level 1 and 2 properties and values supported by
More informationSchrödinger's Website
Schrödinger's Website or: How we built websites of indeterminate design for Adobe Portfolio a talk by Jackie Balzer (@jackiebackwards) https://en.wikipedia.org/wiki/file:schrodinger_cat_in_box.jpg Web
More informationCOMS 359: Interactive Media
COMS 359: Interactive Media Agenda Review CSS Layout Preview Review Introducting CSS What is CSS? CSS Syntax Location of CSS The Cascade Box Model Box Structure Box Properties Review Style is cascading
More informationSUMMARY OF DESIGN CHOICES
SUMMARY OF DESIGN CHOICES Company Name The name is a Hawaiian word that means to go, move. As a new start up application development company, the name fit as Tech designs applications for people on the
More informationWeb Design and Development Tutorial 03
Table of Contents Web Design & Development - Tutorial 03... 2 Using and Applying CSS to XHTML... 2 Conventions... 2 What you need for this tutorial... 2 Common Terminology... 3 Parent / Child Elements...
More informationWeb Engineering CSS. By Assistant Prof Malik M Ali
Web Engineering CSS By Assistant Prof Malik M Ali Overview of CSS CSS : Cascading Style Sheet a style is a formatting rule. That rule can be applied to an individual tag element, to all instances of a
More informationCascading Style Sheet Quick Reference
Computer Technology 8/9 Cascading Style Sheet Quick Reference Properties Properties are listed in alphabetical order. Each property has examples of possible values. Properties are not listed if they are
More informationAgenda. Combining Rules & Selectors Classes, IDs and DIVs
CSS Rules Agenda Combining Rules & Selectors Classes, IDs and DIVs 2 Border Styles Placing the above rule associated with h1 selector, will draw a line - 1 pixel wide - under the heading in our site (you
More informationCSS Cascading Style Sheets
CSS Cascading Style Sheets site root index.html about.html services.html stylesheet.css images boris.jpg Types of CSS External Internal Inline External CSS An external style sheet is a text document with
More informationIntroduction to Web Design CSS Reference
Inline Style Syntax: Introduction to Web Design CSS Reference Example: text Internal Style Sheet Syntax: selector {property: value; Example:
More informationIntroduction to Web Design CSS Reference
Inline Style Syntax: Introduction to Web Design CSS Reference Example: text Internal Style Sheet Syntax: selector {property: value; Example:
More informationGoSquared Equally Rounded Corners Equally Rounded Corners -webkit-border-radius -moz-border-radius border-radius Box Shadow Box Shadow -webkit-box-shadow x-offset, y-offset, blur, color Webkit Firefox
More informationIntroduction to Multimedia. MMP100 Spring 2016 thiserichagan.com/mmp100
Introduction to Multimedia MMP100 Spring 2016 profehagan@gmail.com thiserichagan.com/mmp100 Troubleshooting Check your tags! Do you have a start AND end tags? Does everything match? Check your syntax!
More informationWanted! Introduction. Step 1: Styling your poster. Activity Checklist. In this project, you ll learn how to make your own poster.
Wanted! Introduction In this project, you ll learn how to make your own poster. Step 1: Styling your poster Let s start by editing the CSS code for the poster. Activity Checklist Open this trinket: jumpto.cc/web-wanted.
More informationUnit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 3 Introduction to CSS
Unit 20 - Client Side Customisation of Web Pages Week 2 Lesson 3 Introduction to CSS Last Time Looked at what CSS is Looked at why we will use it Used in-line CSS
More informationIDM 221. Web Design I. IDM 221: Web Authoring I 1
IDM 221 Web Design I IDM 221: Web Authoring I 1 Week 6 IDM 221: Web Authoring I 2 The Box Model IDM 221: Web Authoring I 3 When a browser displays a web page, it places each HTML block element in a box.
More informationCSS Box Model. Cascading Style Sheets
CSS Box Model Cascading Style Sheets CSS box model Background Width & height Margins & padding Borders Centering content Changing display type (block vs. inline) The Box Model Background Properties Property
More informationTITLE EXAMPLE. Sub - title
TITLE EXAMPLE Sub - title SUMMARY 1 TOPIC Relevant text 2 TOPIC Relevant text 3 TOPIC Relevant text 4 TOPIC Relevant text TIMELINE Euismod tincidunt ut laoreet dolore magna aliquam erat volutpat Title
More informationMore CSS. <link href="filename" type="text/css" rel="stylesheet" /> CS380
1 More CSS HTML id attribute 2 coding Horror! Coding Horror! our mission is to combine programming and human factors
More informationCSS: The Basics CISC 282 September 20, 2014
CSS: The Basics CISC 282 September 20, 2014 Style Sheets System for defining a document's style Used in many contexts Desktop publishing Markup languages Cascading Style Sheets (CSS) Style sheets for HTML
More informationPage Layout. 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning
Page Layout contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning 2 1 4.1
More informationStyles, Style Sheets, the Box Model and Liquid Layout
Styles, Style Sheets, the Box Model and Liquid Layout This session will guide you through examples of how styles and Cascading Style Sheets (CSS) may be used in your Web pages to simplify maintenance of
More informationIDM 221. Web Design I. IDM 221: Web Authoring I 1
IDM 221 Web Design I IDM 221: Web Authoring I 1 Week 7 IDM 221: Web Authoring I 2 Page Layout Part 1 IDM 221: Web Authoring I 3 Part 1 because part 2 is coming next term (RWD, Flexbox, Grids) Posi%on An
More informationWhat is the box model?
CSS BOX MODEL What is the box model? The CSS box model describes the rectangular boxes that are created for every element in the document tree. The box model components Source: Kindly provided by Hicks
More informationTAG STYLE SELECTORS. div Think of this as a box that contains things, such as text or images. It can also just be a
> > > > CSS Box Model Think of this as a box that contains things, such as text or images. It can also just be a box, that has a border or not. You don't have to use a, you can apply the box model to any
More informationCSS Selectors. element selectors. .class selectors. #id selectors
CSS Selectors Patterns used to select elements to style. CSS selectors refer either to a class, an id, an HTML element, or some combination thereof, followed by a list of styling declarations. Selectors
More informationCSS: Cascading Style Sheets
CSS: Cascading Style Sheets Computer Science and Engineering College of Engineering The Ohio State University Lecture 13 Evolution of CSS MIME type: text/css CSS 1 ('96): early recognition of value CSS
More informationControlling Appearance the Old Way
Webpages and Websites CSS Controlling Appearance the Old Way Older webpages use predefined tags - - italic text; - bold text attributes - Tables (and a few other elements) use specialized
More informationHTML/XML. HTML Continued Introduction to CSS
HTML/XML HTML Continued Introduction to CSS Entities Special Characters Symbols such as +, -, %, and & are used frequently. Not all Web browsers display these symbols correctly. HTML uses a little computer
More informationThere are 3 places you can write CSS.
EXTRA CSS3. #4 Where to write CSS. There are 3 places you can write CSS. The best option is to write CSS is in a separate.css file. You then link that file to your HTML file in the head of your document:
More informationCSS مفاهیم ساختار و اصول استفاده و به کارگیری
CSS مفاهیم ساختار و اصول استفاده و به کارگیری Cascading Style Sheets A Cascading Style Sheet (CSS) describes the appearance of an HTML page in a separate document : مسایای استفاده از CSS It lets you separate
More informationNetworks and Web for Health Informatics (HINF 6220) Tutorial 8 : CSS. 8 Oct 2015
Networks and Web for Health Informatics (HINF 6220) Tutorial 8 : CSS 8 Oct 2015 What is CSS? o CSS (Style Sheet) defines how HTML elements are formatted and displayed. o It helps you easily change an HTML
More information<head> <meta http-equiv= Content-Type content= text/html; charset=utf-8 /> <title>caprese Salad</title> </head>
HTML basics HTML source code HTML page in browser (without CSS styles) HTML describes the structure of pages. The pieces that make up that structure are called HTML elements. Most elements are defined
More informationReading 2.2 Cascading Style Sheets
Reading 2.2 Cascading Style Sheets By Multiple authors, see citation after each section What is Cascading Style Sheets (CSS)? Cascading Style Sheets (CSS) is a style sheet language used for describing
More informationParashar Technologies HTML Lecture Notes-4
CSS Links Links can be styled in different ways. HTML Lecture Notes-4 Styling Links Links can be styled with any CSS property (e.g. color, font-family, background, etc.). a { color: #FF0000; In addition,
More informationPage Layout Using Tables
This section describes various options for page layout using tables. Page Layout Using Tables Introduction HTML was originally designed to layout basic office documents such as memos and business reports,
More informationCSC309 Programming on the Web week 3: css, rwd
CSC309 Programming on the Web week 3: css, rwd Amir H. Chinaei, Spring 2017 Office Hours: M 3:45-5:45 BA4222 ahchinaei@cs.toronto.edu http://www.cs.toronto.edu/~ahchinaei/ survey 1 in survey 1, you provide
More informationCreating Layouts Using CSS. Lesson 9
Creating Layouts Using CSS Lesson 9 CSS Page Layout Advantages Greater typography control Style is separate from structure Potentially smaller documents Easier site maintenance Increased page layout control
More informationWEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:
WEBSITE PROJECT 2 PURPOSE: The purpose of this project is to begin incorporating color, graphics, and other visual elements in your webpages by implementing the HTML5 and CSS3 code discussed in chapters
More informationIntroduction to WEB PROGRAMMING
Introduction to WEB PROGRAMMING Web Languages: Overview HTML CSS JavaScript content structure look & feel transitions/animation s (CSS3) interaction animation server communication Full-Stack Web Frameworks
More informationFaculty Web Pages: Editing the Template Prepared by Tamara Fudge, June 2008
Faculty Web Pages: Editing the Template Prepared by Tamara Fudge, June 2008 FacWeb 1 The following shows the contents of the FacWeb.txt document, with instructions for replacing certain items with your
More informationBuilding Page Layouts
Building Page Layouts HTML & CSS From Scratch Slides 3.1 Topics Display Box Model Box Aesthetics Float Positioning Element Display working example at: h9ps://;nker.io/3a2bf Source: unknown. Please contact
More informationAR0051 content/style. Michelle Bettman Henry Kiksen. Challenge the future
AR0051 content/style Michelle Bettman Henry Kiksen Challenge the future 1 AR0051: Digital Presentation Portfolio Today's Programme: A little on HTML/CSS Group-wise mind-map on Content and Style Discussion
More informationGestures: ingsa GESTURES
GESTURES FORWARD AND BACKWARD SWIPE RIGHT TO GO TO THE NEXT SCREEN OR SWIPE LEFT TO GO TO THE PREVIOUS SCREEN IN THE STORY FLOW SELECT TAP WITH 1 FINGER TO NAVIGATE THOROUGH AN INTERACTIVE ITEM (SCENES)
More informationCOSC 2206 Internet Tools. CSS Cascading Style Sheets
COSC 2206 Internet Tools CSS Cascading Style Sheets 1 W3C CSS Reference The official reference is here www.w3.org/style/css/ 2 W3C CSS Validator You can upload a CSS file and the validator will check it
More informationCSS. MPRI : Web Data Management. Antoine Amarilli Friday, December 7th 1/43
CSS MPRI 2.26.2: Web Data Management Antoine Amarilli Friday, December 7th 1/43 Overview Cascading Style Sheets W3C standard: CSS 1 1996 CSS 2 1998 CSS 2.1 2011, 487 pages CSS 3.0 Ongoing (various modules),
More informationWelcome Please sit on alternating rows. powered by lucid & no.dots.nl/student
Welcome Please sit on alternating rows powered by lucid & no.dots.nl/student HTML && CSS Workshop Day Day two, November January 276 powered by lucid & no.dots.nl/student About the Workshop Day two: CSS
More informationWhat do we mean by layouts?
What do we mean by layouts? A layout is how you position the elements of your page You can have columns Move paragraphs and sections around And you can do this all without changing the content of your
More informationCSC 337. Cascading Style Sheets. Marty Stepp, Rick Mercer
CSC 337 Cascading Style Sheets Marty Stepp, Rick Mercer Preview of a style sheet /* The good way, with a preview of cascading style sheet (css) that has class mystyle */ body { background-color: grey;.mystyle
More informationCSE 154 LECTURE 5: FLOATING AND POSITIONING
CSE 154 LECTURE 5: FLOATING AND POSITIONING The CSS float property property float description side to hover on; can be left, right, or none (default) a floating element is removed from normal document
More information3.1 Introduction. 3.2 Levels of Style Sheets. - HTML is primarily concerned with content, rather than style. - There are three levels of style sheets
3.1 Introduction - HTML is primarily concerned with content, rather than style - However, tags have presentation properties, for which browsers have default values - The CSS1 cascading style sheet specification
More information7300 Warden Avenue, Suite 503 Markham, Ontario Canada L3R 9Z6. Phone: Toll Free: Fax:
HTML and CSS 7300 Warden Avenue, Suite 503 Markham, Ontario Canada L3R 9Z6 Phone: 905-479-3780 Toll Free: 877-479-3780 Fax: 905-479-1047 e-mail: info@andarsoftware.com Web: www.andarsoftware.com.com Copyright
More informationBrand identity design. Professional logo design + Branding guidelines + Stationery Designed by JAVIER
Brand identity design Professional logo design + Branding guidelines + Stationery Designed by JAVIER Logo conceptualization Concept Shape Typography Color After reading the information provided After some
More information<body bgcolor=" " fgcolor=" " link=" " vlink=" " alink=" "> These body attributes have now been deprecated, and should not be used in XHTML.
CSS Formatting Background When HTML became popular among users who were not scientists, the limited formatting offered by the built-in tags was not enough for users who wanted a more artistic layout. Netscape,
More informationLet's take a look at what CSS looks like in Dreamweaver using the "Embedded" coding which is the styles are within the html code and not separate.
Creating web pages using CSS and Dreamweaver CS3 Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation of a document written in a markup language. Its most common application
More informationCascading Style Sheets CSCI 311
Cascading Style Sheets CSCI 311 Learning Objectives Learn how to use CSS to style the page Learn to separate style from structure Styling with CSS Structure is separated from style in HTML5 CSS (Cascading
More informationDivs, Classes & IDs. Web Development
Divs, Classes & IDs Web Development Agenda Key concepts in page layout class id div 2 class Attribute While the name of an element specifies its type, the class attribute lets you assign to it one or more
More information3.1 Introduction. 3.2 Levels of Style Sheets. - The CSS1 specification was developed in There are three levels of style sheets
3.1 Introduction - The CSS1 specification was developed in 1996 - CSS2 was released in 1998 - CSS2.1 reflects browser implementations - CSS3 is partially finished and parts are implemented in current browsers
More information- The CSS1 specification was developed in CSS2 was released in CSS2.1 reflects browser implementations
3.1 Introduction - The CSS1 specification was developed in 1996 - CSS2 was released in 1998 - CSS2.1 reflects browser implementations - CSS3 is partially finished and parts are implemented in current browsers
More informationSCHOOL DISTRICT 308 VISUAL STANDARD GUIDE
SCHOOL DISTRICT 308 VISUAL STANDARD GUIDE 4175 Route 71 Oswego, IL 60543 (630) 636-3080 WWW.SD308.ORG SCHOOL DISTRICT 308 VISUAL STANDARD GUIDE Table of contents Letter from the Superintendent of Schools...4
More informationBrand Standards Manual. Copyright March 2007
Brand Standards Manual Copyright March 2007 Primary Logo Primary Logo Full Color - Positive Primary logo is to be used when ever possible. Primary background color is white. Plum PMS 5185 Metallic Grey
More informationWeb Design and Implementation
Study Guide 3 - HTML and CSS - Chap. 13-15 Name: Alexia Bernardo Due: Start of class - first day of week 5 Your HTML files must be zipped and handed in to the Study Guide 3 dropbox. Chapter 13 - Boxes
More informationFirst Diploma Unit 10 Client Side Web. Week 4 CSS and Images
First Diploma Unit 10 Client Side Web Week 4 CSS and Images Last Session CSS box model Concept of identity - id This Session External style sheets Using CSS in conjunction with images Introduction External
More informationCSS Futures. Web Development
CSS Futures Web Development CSS Futures CSS3 CSS Preprocessors: SASS & LESS CSS Frameworks CSS3 CSS3 is the latest standard for CSS Combined with HTML5, CSS3 makes it possible to create highly interactive
More informationINFS 2150 Introduction to Web Development
Objectives INFS 2150 Introduction to Web Development 3. Page Layout Design Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout
More informationINFS 2150 Introduction to Web Development
INFS 2150 Introduction to Web Development 3. Page Layout Design Objectives Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout
More informationCS134 Web Site Design & Development. Quiz1
CS134 Web Site Design & Development Quiz1 Name: Score: Email: I Multiple Choice Questions (2 points each, total 20 points) 1. Which of the following is an example of an IP address? a. www.whitehouse.gov
More informationq u e s t i o n s? contact or
Chocolate Grail offers gourmet and artisanal chocolatiers different advertising options listed below. Two options are free: the basic listing and reviews. listings home page features quick pick fix reviews
More information- HTML is primarily concerned with content, rather than style. - However, tags have presentation properties, for which browsers have default values
3.1 Introduction - HTML is primarily concerned with content, rather than style - However, tags have presentation properties, for which browsers have default values - The CSS1 cascading style sheet specification
More informationThe CSS Box Model. Motivation. CSS Box Model. CSE 190 M (Web Programming), Spring 2008 University of Washington
The CSS Box Model CSE 190 M (Web Programming), Spring 2008 University of Washington Reading: Chapter 2, sections Except where otherwise noted, the contents of this presentation are Copyright 2008 Marty
More informationAdding CSS to your HTML
Adding CSS to your HTML Lecture 3 CGS 3066 Fall 2016 September 27, 2016 Making your document pretty CSS is used to add presentation to the HTML document. We have seen 3 ways of adding CSS. In this lecture,
More informationPersonal brand identity desigend by JAVIER
Personal brand identity desigend by JAVIER Logo conceptualization Concept Shape the Z is the base, if you observe I ve placed Color The concept was designed using the The use of the AZ is a great idea,
More informationCSS. https://developer.mozilla.org/en-us/docs/web/css
CSS https://developer.mozilla.org/en-us/docs/web/css http://www.w3schools.com/css/default.asp Cascading Style Sheets Specifying visual style and layout for an HTML document HTML elements inherit CSS properties
More informationUpdates to Phone Contact
Introduction and Table of Contents Updates to Phone Contact Updated PHONE CONTACT Information as it appears in VIEW and EDIT modes: Page 2 Current View and Edit Modes Page 3 NEW View and Edit Modes Page
More informationCSS Web2.0 Search. UNIVERSITY OF MASSACHUSETTS AMHERST CMPSCI 120 Fall Exam #1 graded Exam #2 rescheduled. now tentatively 11/10
Lecture 12 CSS Web2.0 Search Announcements Exam #1 graded Exam #2 rescheduled now tentatively 11/10 Project #2 due November 9th html, CSS, Javascript Styling backgrounds CSS background properties are used
More informationCSS: Layout Part 2. clear. CSS for layout and formatting: clear
CSS: Layout Part 2 Robert A. Fulkerson College of Information Science and Technology http://www.ist.unomaha.edu/ University of Nebraska at Omaha http://www.unomaha.edu/ CSS for layout and formatting: clear
More informationALLASSO CORPORATE IDENTITY USER GUIDLINES
ALLASSO CORPORATE IDENTITY USER GUIDLINES Your Partner in Network Security ALLASSO CORPORATE IDENTITY Your Partner in Network Security Already a success in the short time we've been around, our goal is
More informationCreating and Implementing Decision Templates
Creating and Implementing Decision Templates A checklist for The Preparation, Citation and Distribution of Canadian Decisions (Canadian Citation Committee, 2009) This checklist is intended to assist court
More informationCLASSES are a way to select custom elements without using a tag name
CSS (Part II) Using Classes CLASSES are a way to select custom elements without using a tag name Adding a Class Lorem ipsum dolor sit amet, consectetuer adipiscing elit. You can add
More informationBRAND GUIDELINES All rights reserved.
BRAND GUIDELINES 2017. All rights reserved. LOGO :: INTRODUCTION The Live Purple Logo Mark the most recognizable visual brand element differentiates itself from similar cause based fundraisers. The mark
More informationWCU ATHLETICS LOGOS & USAGE WESTERN CAROLINA UNIVERSITY ATHLETIC LOGO GUIDELINES PAGE 1
WCU ATHLETICS LOGOS & USAGE PAGE 1 WCU ATHLETICS LOGOS The WCU Athletic Style Guide provides the official guidelines for use of the Western Carolina University athletics logos on collateral, signage, merchandise
More informationA STEP-BY-STEP GUIDE TO EVENT BRANDING
A STEP-BY-STEP GUIDE TO EVENT BRANDING WELCOME! Lupus Research Alliance Event Branding Guide 2 We're so happy that you've decided to host an event to support the Lupus Research Alliance. This guide will
More information- The CSS1 specification was developed in CSSs provide the means to control and change presentation of HTML documents
3.1 Introduction - The CSS1 specification was developed in 1996 - CSS2 was released in 1998 - CSS3 is on its way - CSSs provide the means to control and change presentation of HTML documents - CSS is not
More informationICT IGCSE Practical Revision Presentation Web Authoring
21.1 Web Development Layers 21.2 Create a Web Page Chapter 21: 21.3 Use Stylesheets 21.4 Test and Publish a Website Web Development Layers Presentation Layer Content layer: Behaviour layer Chapter 21:
More information**Method 3** By attaching a style sheet to your web page, and then placing all your styles in that new style sheet.
CSS Tutorial Part 1: Introduction: CSS adds style to tags in your html page. With HTML you told the browser what things were (e.g., this is a paragraph). Now you are telling the browser how things look
More informationModule 2 (VII): CSS [Part 4]
INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module 2 (VII): CSS [Part 4] Dr. El-Sayed El-Alfy Computer Science Department King Fahd University of Petroleum and Minerals
More informationCascading Style Sheets (CSS)
Cascading Style Sheets (CSS) Mendel Rosenblum 1 Driving problem behind CSS What font type and size does introduction generate? Answer: Some default from the browser (HTML tells what browser how)
More informationWeb Authoring and Design. Benjamin Kenwright
CSS Div Layouts Web Authoring and Design Benjamin Kenwright Outline Review Why use Div Layout instead of Tables? How do we use the Div Tag? How to create layouts using the CSS Div Tag? Summary Review/Discussion
More informationMake a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1
Make a Website A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Overview Course outcome: You'll build four simple websites using web
More informationtemplate guidelines. 1. Visual identity 2. How to build an
Email template guidelines 1. Visual identity 2. How to build an email 1. Visual identity There are four main elements of an email s visual identity: University logo Typography Colour Imagery University
More informationHTML and CSS a further introduction
HTML and CSS a further introduction By now you should be familiar with HTML and CSS and what they are, HTML dictates the structure of a page, CSS dictates how it looks. This tutorial will teach you a few
More informationINTERNATIONAL UNIVERSITY OF JAPAN Public Management and Policy Analysis Program Graduate School of International Relations
Hun Myoung Park (1/26/2019) Cascading Style Sheets: 1 INTERNATIONAL UNIVERSITY OF JAPAN Public Management and Policy Analysis Program Graduate School of International Relations ADC5030401 (2 Credits) Introduction
More informationIndex. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148
Index Numbers & Symbols (angle brackets), in HTML, 47 : (colon), in CSS, 96 {} (curly brackets), in CSS, 75, 96. (dot), in CSS, 89, 102 # (hash mark), in CSS, 87 88, 99 % (percent) font size, in CSS,
More information