First Diploma Unit 10 Client Side Web. Week 4 CSS and Images

Size: px
Start display at page:

Download "First Diploma Unit 10 Client Side Web. Week 4 CSS and Images"

Transcription

1 First Diploma Unit 10 Client Side Web Week 4 CSS and Images

2 Last Session CSS box model Concept of identity - id

3 This Session External style sheets Using CSS in conjunction with images

4 Introduction External style sheets allow for easier maintenance of web pages Well-placed images can bring an otherwise commonplace design to life It beats the sliced image look Working with images in CSS requires a few simple skills

5 The External Style Sheet You are familiar with this: <!doctype html public "-//W3C//DTD HTML 4.0//EN"> <html> <head> <style type="text/css"> #box { width: 350px; border-color: red; border-style: dashed; </style> </head> <body> This is text outside the box. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. <div id="box"> This is text inside the box. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. </div> </body> </html>

6 Convert to External Style Sheet <!doctype html public "-//W3C//DTD HTML 4.0//EN"> <html> <head> <link rel="stylesheet" type="text/css" href= yourstyle.css" /> </style> </head> <body> This is text outside the box. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit "utf-8"; /* CSS Document */ /*yourstyle.css*/ #box { width: 350px; border-color: red; border-style: dashed; <div id="box"> This is text inside the box. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. </div> </body> HTML Link Style sheet </html>

7 Adding Borders to Images Photographic images, perhaps used to illustrate an article, or as a display in a photo album, look neat when bordered with a thin line Opening each picture in a graphics program to add the border is a time consuming process and, if you ever need to change that border s colour or thickness, you ll need to go through the same arduous process all over again to create the desired images

8 Image Borders Adding a border to an image is a simple procedure using CSS. Example:

9 Illustrative example By changing the style sheet ONLY: body { font: 0.9em Verdana, Geneva, Arial, Helvetica, sans-serif; #album { margin: 30px; list-style:none; #album li { float:left; #album img { border: 1px solid #000000; margin-right: 30px; * I cheated and added a new style sheet and changed the reference to the new style in the web page

10 We will get this: Borders!

11 Analysis body { font: 0.9em Verdana, Geneva, Arial, Helvetica, sans-serif; #album { margin: 30px; list-style:none; Create a new ID called album and set it 30px from the left edge #album li { float:left; #album img { border: 1px solid #000000; margin-right: 30px; Create a new ID called album li Make the list float to the left Create a new ID called album img Give it a border and a right margin of 30px

12 Another Example Here we have our initial page with no CSS whatsoever Ugly blue borders don t look good

13 How to Fix Adding border="0" to images that are links to other documents is probably something you would do almost automatically However, border has been deprecated in the current versions of HTML and XHTML Deprecated means superseded or replaced It should therefore be avoided

14 Solution Just as you can create a border, so you can remove one Setting an image s border property to none will remove those ugly borders img { border: none; Add this to a style sheet (border property in a style sheet is legal)

15 Backgrounds Before CSS, backgrounds were added using the background attribute of the <body> tag This attribute is now deprecated and replaced by CSS properties body { background-color: #ffffff; background-image: url(peppers_bg.jpg); background-repeat: no-repeat; The above rules add the image peppers_bg.jpg as a background to any page to which this style sheet is attached

16 The CSS body { h1{ #content { background-color: #ffffff; background-image: url(images/peppers_bg.jpg); background-repeat: no-repeat; background-image: url(dotty.gif); background-repeat: repeat-x; background-position: bottom left; padding: 0 0 6px 0; color: #41667f; font-size: 160%; font-weight: normal; background-color: transparent; margin: 2em 4em 2em 4em; background-color: transparent; padding: 1em 1em 40px 1em; Call a background picture Repeat across the x-axis i.e. Left to right Set a margin around the content

17 The Result

18 Discussion The CSS property background-image enables you to specify as a URL the location of a background image. By default, the background will tile as shown As we don t want multiple peppers in this example, we need to prevent this image from tiling. To do so, we set the property backgroundrepeat to no-repeat.

19 Repeating Images Other values for background-repeat are: repeat - This default value causes the image to tile across and down the page repeat-x - The image tiles across the page in a single row of images repeat-y - The image tiles down the page in a single row

20 Positioning a Background Image By default, if you add a single, non-repeating background image to the page, it will appear in the top left corner of the viewport. If you have set the background to tile in any direction, the first image will appear at that location, and will tile from that point. However, it is also possible for the image to be displayed anywhere else on the page.

21 Positioning a Background Image To position the image, we need to use the CSS property background-position body { background-color: #FFFFFF; background-image: url(peppers_bg.jpg); background-repeat: no-repeat; background-position: center center; This will position the image in the centre of the page

22 Keywords for Background Positioning Keyword combinations that you can use are: top left top center top right center left center center center right bottom left bottom center bottom right If you only specify one of the values, the other will default to center. E.g. background-position: top; Is the same as background-position: top center;

23 Summary External style sheets Using CSS in conjunction with images

24 Next Session Practical CSS for you to try

25 To Do Try the examples done today, and see what happens when you change the values Complete assignment

First 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 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 information

Media Information: Online Advertising HANNOVER MESSE

Media Information: Online Advertising HANNOVER MESSE Media Information: Online Advertising HANNOVER MESSE 2018 www.hannovermesse.de/en Advertising options an overview 2 Advertising option Placement Page Advertising on website Sponsored post Homepage and

More information

Functional Design for Developer Documentation. Ulrike Parson

Functional Design for Developer Documentation. Ulrike Parson Functional Design for Developer Documentation Ulrike Parson 1 Expectations What is developer documentation? Documentation written for software engineers Explains how to program/customize a specific application

More information

L A TEX - First Class

L A TEX - First Class L A TEX - First Class Siri Isaksson November 4, 2010 Abstract In this first class, we will go over some of the most useful features of Latex, most of the examples of how to use them stem from the Not so

More information

Magic File Manipulator 2

Magic File Manipulator 2 Magic File Manipulator 2 Description of Functions Version 0.03 system-99 user-group Last Manual Edit: 2017-10-17 Translation by Bob Carmany Actual versions at system-99 user-group Seite 2 Table of Contents

More information

[av_hr class='custom' height='50' shadow='no-shadow' position='center' custom_border='avborder-fat'

[av_hr class='custom' height='50' shadow='no-shadow' position='center' custom_border='avborder-fat' [av_section min_height='75' min_height_px='500px' padding='default' shadow='no-shadow' bottom_border='no-border-styling' bottom_border_diagonal_color='#333333' bottom_border_diagonal_direction='' bottom_border_style=''

More information

Interaction with Interconnected Data in Participatory Processes

Interaction with Interconnected Data in Participatory Processes F O R S C H U N G A N F A C H H O C H S C H U L E N Interaction with Interconnected Data in Participatory Processes Lars Schütz lars.schuetz@hs-anhalt.de Anhalt University of Applied Sciences, Dept. of

More information

UMST Brand Guidelines

UMST Brand Guidelines UMST Brand Guidelines Introduction Welcome to the UMST (University of Medical Sciences and Technology) brand guidelines. These guidelines are used to produce collateral associated with UMST University.

More information

Design elements. Brand Identity Guidelines v 1.0 June 2018

Design elements. Brand Identity Guidelines v 1.0 June 2018 Design elements Brand Identity Guidelines v 1.0 June 2018 Table of contents Return to table of contents ebill Design elements v1.0 2 1. Logo and Clear space 1.1 Sizes 1.2 Position 1.3 Color & background

More information

Style guide for all online applications of Hannover Re. 0.0 Introduction

Style guide for all online applications of Hannover Re. 0.0 Introduction Style guide for all online applications of Hannover Re Last update 08.06.2018 0.0 Introduction Hannover Re uses a reduced and unpretentious design which gives the user rapid guidance and facilitates recognition.

More information

Dynamic Web Development

Dynamic Web Development Dynamic Web Development The CMP 521 course introduced the development of web sites using hyper text markup language (HTML) and cascading style sheets (CSS). In this section of CMP 621 you will be able

More information

Key/Value Pair versus hstore

Key/Value Pair versus hstore Benchmarking Entity-Attribute-Value Structures in PostgreSQL HSR Hochschule für Technik Rapperswi Institut für Software Oberseestrasse 10 Postfach 1475 CH-8640 Rapperswil http://www.hsr.ch Advisor: Prof.

More information

Developing a Cloud Computing Based Approach for Forensic Analysis using OCR

Developing a Cloud Computing Based Approach for Forensic Analysis using OCR Developing a Cloud Computing Based Approach for Forensic Analysis using OCR Matthias Trojahn, Volkswagen AG, Germany Lei Pan, Deakin University, School of IT, Australia Fabian Schmidt, ISC Gebhardt, Germany

More information

Graphic Standards Guide

Graphic Standards Guide Graphic Standards Guide Table of Contents 1. The Importance of Brand Identity 2. Digestive Disease Center Identity 3. Option 1 DDC Identity: Logo Specifications 4. Color Options 5. Applications: Brochure

More information

HG DIP-40MM-WVN1-18 (BROADLOOM LABEL) HG DIP-30MM-CTNPLY1-18 (BROADLOOM LABEL) dip HOME LABELS PAGE 1 ART: 06/21/2018.

HG DIP-40MM-WVN1-18 (BROADLOOM LABEL) HG DIP-30MM-CTNPLY1-18 (BROADLOOM LABEL) dip HOME LABELS PAGE 1 ART: 06/21/2018. LABELS PAGE 1 30 mm 40 mm 78 mm Care Instructions Wash before first use. Abc. Xyz. RN 29360 30 mm x 78 mm Fold to 39 mm Fold Line HG-5526-1 DIP-30MM-CTNPLY1-18 (BROADLOOM LABEL) 54 mm Care Instructions:

More information

Unit 10 - Client Side Customisation of Web Pages. Week 5 Lesson 1 CSS - Selectors

Unit 10 - Client Side Customisation of Web Pages. Week 5 Lesson 1 CSS - Selectors Unit 10 - Client Side Customisation of Web Pages Week 5 Lesson 1 CSS - Selectors Last Time CSS box model Concept of identity - id Objectives Selectors the short story (or maybe not) Web page make-over!

More information

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 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 information

Welcome 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 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 information

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 Unit 20 - Client Side Customisation of Web Pages Week 2 Lesson 4 The Box Model Last Time Looked at what CSS is Looked at why we will use it Used CSS In-line Embedded (internal style-sheet) External

More information

Advanced CSS. Steven Pemberton. CWI and W3C Kruislaan SJ Amsterdam The Netherlands.

Advanced CSS. Steven Pemberton. CWI and W3C Kruislaan SJ Amsterdam The Netherlands. Advanced CSS Steven Pemberton CWI and W3C Kruislaan 413 1098 SJ Amsterdam The Netherlands Steven.Pemberton@cwi.nl www.cwi.nl/~steven About the Instructor Steven Pemberton is a researcher at the CWI, The

More information

view cart Expanded view 2 items in your cart 18 LCD TV MODEL NUMBER $1, LCD TV MODEL NUMBER $1, Subtotal: $3,199.

view cart Expanded view 2 items in your cart 18 LCD TV MODEL NUMBER $1, LCD TV MODEL NUMBER $1, Subtotal: $3,199. cameras & camcorders phones & fax computers appliances building personal care accessories special offers gift ideas > appliances appliances items in your cart 0 Expanded view vacuums Stet clita sea takimata

More information

IDM 221. Web Design I. IDM 221: Web Authoring I 1

IDM 221. Web Design I. IDM 221: Web Authoring I 1 IDM 221 Web Design I IDM 221: Web Authoring I 1 Week 1 Introduc)on IDM 221: Web Authoring I 2 Hello I am Phil Sinatra, professor in the Interac4ve Digital Media program. You can find me at: ps42@drexel.edu

More information

Lab Introduction to Cascading Style Sheets

Lab Introduction to Cascading Style Sheets Lab Introduction to Cascading Style Sheets For this laboratory you will need a basic text editor and a browser. In the labs, winedt or Notepad++ is recommended along with Firefox/Chrome For this activity,

More information

An introduction to L A TEX, as well as Bibtex, Beamer, Tikz, and all that (Part I)

An introduction to L A TEX, as well as Bibtex, Beamer, Tikz, and all that (Part I) An introduction to L A TEX, as well as Bibtex, Beamer, Tikz, and all that (Part I) Nicolas Fillion Department of Philosophy Simon Fraser University nfillion@sfu.ca www.nfillion.com 1 Conceptual foundations

More information

More CSS. <link href="filename" type="text/css" rel="stylesheet" /> CS380

More 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 information

<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***

<style type=text/css> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page*** Chapter 7 Using Advanced Cascading Style Sheets HTML is limited in its ability to define the appearance, or style, across one or mare Web pages. We use Cascading style sheets to accomplish this. Remember

More information

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space. HTML Summary Structure All of the following are containers. Structure Contains the entire web page. Contains information

More information

CSC 337. Cascading Style Sheets. Marty Stepp, Rick Mercer

CSC 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 information

VISUAL IDENTITY STANDARDS

VISUAL IDENTITY STANDARDS HISTORY OF THE DISTRICT A GUIDE TO VISUAL IDENTITY STANDARDS The establishment of a college for the Coalinga Union High School District was proposed in the spring of 1932. The official beginning of the

More information

Doing more with Views. Creating an inline menu

Doing more with Views. Creating an inline menu Doing more with Views Creating an inline menu About Me Caryl Westerberg Web Producer Stanford Web Services Views topics we ll cover Contextual Filters Relationships Global: View result counter Global:

More information

Internet of People. Bluepaper: v Independence published by IoP Community. Authors. Contributors. Layout

Internet of People. Bluepaper: v Independence published by IoP Community. Authors. Contributors. Layout Bluepaper: v 2.0 - Independence 22.11.2017 - published by IoP Community Internet of People Byron Blattel, Markus Maiwald Authors Matias Furszyfer, Sarah Klostermair, Dieter Klomfaß, Amon Engemann, Manuel

More information

CSCB20 Week 7. Introduction to Database and Web Application Programming. Anna Bretscher Winter 2017

CSCB20 Week 7. Introduction to Database and Web Application Programming. Anna Bretscher Winter 2017 CSCB20 Week 7 Introduction to Database and Web Application Programming Anna Bretscher Winter 2017 Cascading Style Sheets (CSS) Examples of CSS CSS provides a powerful and stillevolving toolkit of style

More information

<body bgcolor=" " fgcolor=" " link=" " vlink=" " alink=" "> These body attributes have now been deprecated, and should not be used in XHTML.

<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 information

Introduction to Web Design CSS Reference

Introduction 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 information

Assignments (4) Assessment as per Schedule (2)

Assignments (4) Assessment as per Schedule (2) Specification (6) Readability (4) Assignments (4) Assessment as per Schedule (2) Oral (4) Total (20) Sign of Faculty Assignment No. 02 Date of Performance:. Title: To apply various CSS properties like

More information

Introduction to Web Design CSS Reference

Introduction 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 information

VISUAL IDENTITY STANDARDS

VISUAL IDENTITY STANDARDS HISTORY OF THE DISTRICT A GUIDE TO VISUAL IDENTITY STANDARDS The establishment of a college for the Coalinga Union High School District was proposed in the spring of 1932. The official beginning of the

More information

HTML and CSS a further introduction

HTML 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 information

Page Layout with Crop Marks

Page Layout with Crop Marks Page Layout with Crop Marks Zdeněk Wagner http://icebearsoft.euweb.cz Package date: 2012/05/20 Abstract This package was developed as a typographers toolbox offering the most important features for everyday

More information

To illustrate how to set TAG styles the <body> and <h1> tags (for the BODY and the HEADING 1 styles) will be adjusted.

To illustrate how to set TAG styles the <body> and <h1> tags (for the BODY and the HEADING 1 styles) will be adjusted. Chapter The formatting of CSS pages is carried out by setting the required styles. There are four different types of styles: Class which are custom styles that you create. You did this in Chapter 12. Tag

More information

CSS. https://developer.mozilla.org/en-us/docs/web/css

CSS. 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 information

Styles, Style Sheets, the Box Model and Liquid Layout

Styles, 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 information

Creating Layouts Using CSS. Lesson 9

Creating 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 information

CSS: The Basics CISC 282 September 20, 2014

CSS: 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 information

COMS 359: Interactive Media

COMS 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 information

StepStone Styleguide. Guidelines for a powerful StepStone Brand. Version:

StepStone Styleguide. Guidelines for a powerful StepStone Brand. Version: StepStone Styleguide Guidelines for a powerful StepStone Brand Version: 2010-06-24 Strong brands have consistent communication. This is why we have created this document for all StepStone marketers. This

More information

CSS مفاهیم ساختار و اصول استفاده و به کارگیری

CSS مفاهیم ساختار و اصول استفاده و به کارگیری 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 information

Reading 2.2 Cascading Style Sheets

Reading 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 information

COSC 2206 Internet Tools. CSS Cascading Style Sheets

COSC 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 information

HTMLnotesS15.notebook. January 25, 2015

HTMLnotesS15.notebook. January 25, 2015 The link to another page is done with the

More information

Creating a Job Aid using HTML and CSS

Creating a Job Aid using HTML and CSS Creating a Job Aid using HTML and CSS In this tutorial we will apply what we have learned about HTML and CSS. We will create a web page containing a job aid about how to buy from a vending machine. Optionally,

More information

Agenda. Combining Rules & Selectors Classes, IDs and DIVs

Agenda. 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 information

IDM 221. Web Design I. IDM 221: Web Authoring I 1

IDM 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 information

Chapter 3 CSS for Layout

Chapter 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 information

Thinking inside the box

Thinking inside the box Intro to CSS Thinking inside the box Thinking inside the box Thinking inside the box Thinking inside the box Thinking inside the box Thinking inside the box Thinking inside

More information

Session 4. Style Sheets (CSS) Reading & References. A reference containing tables of CSS properties

Session 4. Style Sheets (CSS) Reading & References.   A reference containing tables of CSS properties Session 4 Style Sheets (CSS) 1 Reading Reading & References en.wikipedia.org/wiki/css Style Sheet Tutorials www.htmldog.com/guides/cssbeginner/ A reference containing tables of CSS properties web.simmons.edu/~grabiner/comm244/weekthree/css-basic-properties.html

More information

Let'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.

Let'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 information

CSS Tutorial Part 1: Introduction: A. Adding Style to a Web Page (3 options):

CSS Tutorial Part 1: Introduction: A. Adding Style to a Web Page (3 options): 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 information

CSS Cascading Style Sheets

CSS 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 information

Introduction to WEB PROGRAMMING

Introduction 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 information

Cascading Style Sheets Level 2

Cascading Style Sheets Level 2 Cascading Style Sheets Level 2 Course Objectives, Session 1 Level 1 Quick Review Chapter 6 Revisit: Web Fonts Chapter 8: Adding Graphics to Web Pages Chapter 9: Sprucing Up Your Site s Navigation Begin

More information

Admin & Today s Agenda

Admin & Today s Agenda Admin & Today s Agenda FYI: Boshra s and Guri s office hours switched this week Take-home exercises: any one done them??? Key materials in Unit 4 2 new concepts New tags CMPT 165 D1 (Fall 2015) 1 And before

More information

Kerberos Definitive Guide READ ONLINE

Kerberos Definitive Guide READ ONLINE Kerberos Definitive Guide READ ONLINE If looking for a ebook Kerberos definitive guide in pdf form, then you've come to the loyal website. We furnish the utter option of this ebook in doc, epub, DjVu,

More information

Web Recruitment Module Customisation

Web Recruitment Module Customisation Web Recruitment Module Customisation Introduction The People Inc. Web Recruitment add-on enables users to publish details of vacancies on their web site. This information is integrated seamlessly into

More information

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style precedence and style inheritance Understand the CSS use

More information

Graphic Standards Guide

Graphic Standards Guide Graphic Standards Guide Table of Contents 1. The Importance of Brand Identity 2. Chest Disease Center Identity 3. Option 1 CDC Identity: Logo Specifications 4. Color Options 5. Applications: Brochure Covers

More information

I lllll llllllll Ill lllll lllll lllll lllll lllll

I lllll llllllll Ill lllll lllll lllll lllll lllll I lllll llllllll Ill lllll lllll lllll lllll lllll 111111111111111111111111111111111 US009672293B2 c12) United States Patent Parker et al. (10) Patent o.: (45) Date of Patent: Jun.6,2017 (54) SYSTEMS AD

More information

Once-Only Principle Reducing Administrative Burden for Citizens and Businesses

Once-Only Principle Reducing Administrative Burden for Citizens and Businesses Funded by the European Union Once-Only Principle Reducing Administrative Burden for Citizens and Businesses www.scoop4c.eu Tallinn e-governance Conference 2017 and SCOOP4C stakeholder workshop Tallinn,

More information

CSS worksheet. JMC 105 Drake University

CSS worksheet. JMC 105 Drake University CSS worksheet JMC 105 Drake University 1. Download the css-site.zip file from the class blog and expand the files. You ll notice that you have an images folder with three images inside and an index.html

More information

2005 WebGUI Users Conference

2005 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 information

INTRODUCTION. About This Manual Letter from Larry Heard Who We Are IDENTITY COMPONENTS

INTRODUCTION. About This Manual Letter from Larry Heard Who We Are IDENTITY COMPONENTS THE TOOLS TO PERFORM Manual A INTRODUCTION E PRINT ADVERTISEMENTS A1 A2 A3 About This Manual Letter from Larry Heard Who We Are E1 National Advertisements Regional Advertisement Templates B B1 B2 B3 B4

More information

Groupings and Selectors

Groupings and Selectors Groupings and Selectors Steps to Success Using the headings.html web page you created in steps, we'll discuss the type selector and grouping. We'll look at how we can utilize grouping efficiently within

More information

What is the box model?

What 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 information

Introduction to Computer Science Web Development

Introduction to Computer Science Web Development Introduction to Computer Science Web Development Flavio Esposito http://cs.slu.edu/~esposito/teaching/1080/ Lecture 9 Lecture Outline Text Styling Some useful CSS properties The Box Model essential to

More information

Produced by. Web Development. Eamonn de Leastar Department of Computing, Maths & Physics Waterford Institute of Technology

Produced by. Web Development. Eamonn de Leastar Department of Computing, Maths & Physics Waterford Institute of Technology Web Development Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology http://www.wit.ie http://elearning.wit.ie CSS: Box Model Worked

More information

HTML & CSS November 19, 2014

HTML & CSS November 19, 2014 University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln Digital Humanities Workshop Series Center for Digital Research in the Humanities 11-19-2014 HTML & CSS November 19, 2014

More information

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions Text and Layout Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11 This presentation 344 345 Text in Graphics Maximum flexibility obtained by treating text as graphics and manipulating

More information

Dreamweaver CS3 Lab 2

Dreamweaver CS3 Lab 2 Dreamweaver CS3 Lab 2 Using an External Style Sheet in Dreamweaver Creating the site definition First, we'll set up the site and define it so that Dreamweaver understands the site structure for your project.

More information

CS134 Web Site Design & Development. Quiz1

CS134 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 information

Unveiling the Basics of CSS and how it relates to the DataFlex Web Framework

Unveiling the Basics of CSS and how it relates to the DataFlex Web Framework Unveiling the Basics of CSS and how it relates to the DataFlex Web Framework Presented by Roel Fermont 1 Today more than ever, Cascading Style Sheets (CSS) have a dominant place in online business. CSS

More information

EECS1012. Net-centric Introduction to Computing. Lecture 5: Yet more CSS (Float and Positioning)

EECS1012. Net-centric Introduction to Computing. Lecture 5: Yet more CSS (Float and Positioning) EECS 1012 EECS1012 Net-centric Introduction to Computing Lecture 5: Yet more CSS (Float and Positioning) Acknowledgements Contents are adapted from web lectures for Web Programming Step by Step, by M.

More information

HTML5: Adding Style. Styling Differences. HTML5: Adding Style Nancy Gill

HTML5: Adding Style. Styling Differences. HTML5: Adding Style Nancy Gill HTML5: Adding Style In part 2 of a look at HTML5, Nancy will show you how to add CSS to the previously unstyled document from part 1 and why there are some differences you need to watch out for. In this

More information

FLOATING AND POSITIONING

FLOATING AND POSITIONING 15 FLOATING AND POSITIONING OVERVIEW Understanding normal flow Floating elements to the left and right Clearing and containing floated elements Text wrap shapes Positioning: Absolute, relative, fixed Normal

More information

5 Snowdonia. 94 Web Applications with C#.ASP

5 Snowdonia. 94 Web Applications with C#.ASP 94 Web Applications with C#.ASP 5 Snowdonia In this and the following three chapters we will explore the use of particular programming techniques, before combining these methods to create two substantial

More information

HTML & CSS Cheat Sheet

HTML & CSS Cheat Sheet 1 HTML & CSS Cheat Sheet Fall 2017 HTML & CSS Cheat Sheet from Typographic Web Design 3 by Laura Franz Web safe fonts vs web fonts You can expect these web safe fonts to work across most platforms and

More information

Microsoft Expression Web Quickstart Guide

Microsoft Expression Web Quickstart Guide Microsoft Expression Web Quickstart Guide MS-Expression Web Quickstart Guide Page 1 of 24 Expression Web Quickstart Guide (20-Minute Training) Welcome to Expression Web. When you first launch the program,

More information

CSS. Lecture 16 COMPSCI 111/111G SS 2018

CSS. Lecture 16 COMPSCI 111/111G SS 2018 CSS Lecture 16 COMPSCI 111/111G SS 2018 No CSS Styles A style changes the way the HTML code is displayed Same page displayed using different styles http://csszengarden.com Same page with a style sheet

More information

CSS Box Model. Cascading Style Sheets

CSS 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 information

Make 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 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 information

Web Designer s Reference

Web Designer s Reference Web Designer s Reference An Integrated Approach to Web Design with XHTML and CSS Craig Grannell Graphical navigation with rollovers The final exercise in this chapter concerns navigation with graphical

More information

CSS Selectors. element selectors. .class selectors. #id selectors

CSS 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 information

ADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model)

ADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model) INTRO TO CSS RECAP HTML WHAT IS CSS ADDING CSS TO YOUR HTML DOCUMENT CSS IN THE DIRECTORY TREE CSS RULES A FEW CSS VALUES (colour, size and the box model) CSS SELECTORS SPECIFICITY WEEK 1 HTML In Week

More information

In the early days of the Web, designers just had the original 91 HTML tags to work with.

In the early days of the Web, designers just had the original 91 HTML tags to work with. Web Design Lesson 4 Cascading Style Sheets In the early days of the Web, designers just had the original 91 HTML tags to work with. Using HTML, they could make headings, paragraphs, and basic text formatting,

More information

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: CREATING AN HTML LIST Most horizontal or vertical navigation bars begin with a simple

More information

H A-Z of DTP Features

H A-Z of DTP Features A-Z of DTP Features H Alignment One of the principles of design, alignment refers to lining up the top, bottom, sides, or middle of text or graphic elements on a page. See also Text Alignment. Ascender

More information

This is an H1 Header. This is an H2 Header. This is an H3 Header

This is an H1 Header. This is an H2 Header. This is an H3 Header is a key element in web design. This templates delivers you sophisticated typography and various stylings. The style guide gives you an overview about all possible HTML tag stylings provided by the template.

More information

Web Authoring and Design. Benjamin Kenwright

Web 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 information

Introduction to Multimedia. MMP100 Spring 2016 thiserichagan.com/mmp100

Introduction 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 information

The CSS Box Model. Motivation. CSS Box Model. CSE 190 M (Web Programming), Spring 2008 University of Washington

The 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 information

INTRODUCTION TO CSS. Mohammad Jawad Kadhim

INTRODUCTION TO CSS. Mohammad Jawad Kadhim INTRODUCTION TO CSS Mohammad Jawad Kadhim WHAT IS CSS Like HTML, CSS is an interpreted language. When a web page request is processed by a web server, the server s response can include style sheets,

More information