Diane s CSS Cheatsheet

Save this PDF as:
 WORD  PNG  TXT  JPG

Size: px
Start display at page:

Download "Diane s CSS Cheatsheet"

Transcription

1 Diane s CSS Cheatsheet Anatomy of a CSS Rule: selector { property: value; selector { property: value; property: value; property: value; CSS Comment: /* This is a CSS comment */ Inline CSS Styles: The CSS properties go in the body, right on the html tag that is being formatted. Note: This is an inefficient way to use CSS, and should be avoided. The exception is that formatted s usually use inline styles. <p style="font-family: arial, helvetica, sans-serif; color:#ff0000;">content</p> Internal (embedded) CSS Styles: The CSS rules go in the head, wrapped inside the <style> tag, and will impact a single html page only. <head> <title>this is the page title</title> <style type="text/css"> h1 { color: #ff0000; </style> </head> External CSS Style Sheets: The CSS rules go into a separate document, with a.css extension, and can be linked to multiple html pages. Note that the <style> tag is not needed, since the rules are already separated into their own CSS document. In each html page, place the <link> tag in the head section, to connect the page to it's stylesheet: <head> <title>this is the page title</title> <link rel="stylesheet" type="text/css" href="stylesheet.css" /> </head> 1

2 properties values notes background-color #ffcc00 color #ff0000 font-family garamond,"times roman",serif; arial,helvetica,sans-serif; font-size 12px xx-small 12pt x-small 1.2em small 120% medium large x-large xx-large background color specify in hex values text color specify in hex values fonts use quotes around font names that include spaces font size % and em are accessible in all browsers text-align left center right justify font-weight normal bold font-style italic letter-spacing 2px word-spacing 5px line-height 200% text-indent 20px text-transform lowercase uppercase capitalize font-variant normal small-caps text-decoration none underline overline line-through blink horizontal alignment bold italic tracking, letter spacing word spacing leading, line spacing indents the first line of a paragraph case small caps most commonly used to control whether links are underlined. decoration: none; 2

3 properties values notes list-style-type disc circle square list-style-type decimal lower-roman upper-roman lower-alpaha upper-alpha none list-style-position inside outside list-style-image url(image.gif) apply these properties to the <ul> tag apply these properties to the <ol> tag position of bullet or number to use an image in place of the bullet or number font shorthand rule must begin with either font-style or font-weight properties, and must include and end with font family. p { font: italic bold.8em/2em helvetica,sans-serif is the same as: p { font-style: italic; font-weight: bold; font-size:.8em; line-height: 2em; font-family: helvetica, sans-serif; list-style shorthand ol { list-style: url(image.gif) lower-roman outside background-image url(earth.jpg) url(relative path to your image) background-attachment fixed scroll (the default) background-position left,top left center right top bottom background-repeat repeat no-repeat repeat-x repeat-y Add background image properties to the body tag to put a background on the page. Add backgrounds to table cells and divs by adding background image properties to classes and ids on <td> or <div> tags. You can also position by using values. repeat-x is horizontal repeat repeat-y is vertical repeat 3

4 properties values notes background shorthand body { background: url(this.gif) no-repeat fixed 10% 20% is the same as: body { background-image: url(this.gif); background-repeat: no-repeat; background-attachment: fixed; background-position: 10% 20%; The order of values doesn't matter. Each value implies the property they're associated with. vertical-align top bottom middle border-color #ff0000 border-style solid dotted dashed none double groove ridge inset outset vertical alignment you must specify all three properties to have a border: border-color, border-style and border-width border-width 2px or thin medium thick border-left-color border-left-style border-left-width #ff9900 solid 2px borders can be specified per side by adding left, right, top or bottom to the border properties. border shorthand { border: 10px double #ff0033 The order of values does not matter. border width shorthand { border-width: 10px 2px 2px 2px; border-color: #ff0000; border-style: solid; The order is important: 10px 2px 2px 2px top right bottom left TRouBLe 4

5 properties values notes margin 30px margin-left 30px padding 10px padding-left 10px float left right clear left right both position absolute fixed static (the default) relative top left width height z-index px or 50% 150px or 40% px or % or ems Use margin when the space around an object is the same on all sides. Add left, right, top, or bottom to the margin property to affect individual sides of an object. Use padding when the space inside an object is the same on all sides. Add left, right, top, or bottom to the padding property to affect the space of individual sides within an object. Float allows the next object to move up next to the float object. This is useful for positioning Divs as columns, or wrapping text around an image floated to the left or right. Useful for clearing out float Use top & left properties with absolute positioning to specify the location of the upper left corner of the object, in relation to the browser, or its container. Use whole numbers to indicate the stacking order, to control which object is in front of other absolute positioned objects. 5

6 selector type description code example tag selector also called element selector Formats everything surrounded by a certain html tag. Redefines all instances of an html tag. examples to right: body controls page defaults, including the page color and default font formatting. h1 will format all headings surrounded by <h1> tags. td will format every table cell. body { background-color: #996600; color: #333333; font-family: garamond, times, serif; font-size: 100%; h1 { color: #ff0000; font-family: arial, helvetica, sans-serif; font-size: 1.2em; td { background-color: #a388cc; color: #000000; font-size: 9px;.class #id pseudo Formats a particular instance of an html tag, by adding the class attribute to the tag. You can use a class as many times as you like, to format multiple objects. (ex. numerous paragraphs could be formatted with the same class.) Class selectors have custom names, cannot start with a number, or contain spaces or symbols (dash or underscore is ok). Formats any html tag, by adding the id attribute to the tag. You can only use an id once per page. The most common use for ids are positioning div tags for layout. Id selectors have custom names, cannot contain spaces or symbols (dash or underscore is ok). Affects a state of the tag, such as the hover or visited states of the a tag (for links). in the html: <p class="classname">content</p> here s the CSS rule:.classname { color: #ff0000; font-family: arial, helvetica, sans-serif; font-size: 1.2em; in the html: <div id="idname">content here s the CSS rule: #idname { background-color: #ff0000; border: 4px double #003366; width: 240px; padding: 12px; margin-top: 24px; a:link { color: #ff0000; text-decoration: none; a:visited { color: #ff0000; text-decoration: none; a:hover { color: #ff0000; text-decoration: underline; a:active { color: #ff0000; text-decoration: none; 6

7 CSS Positioning The <div> tag can surround content. The <div> is like a box, or floating table cell, that surrounds sections of your web page. The <div> tag can be formatted with a CSS id or class. <div id="classname"> <div id="idname"> Types of web page layouts: fixed: widths measured in pixels scaleable: adjusts to fit the browser, widths are measured in %. elastic: widths are measured in ems, almost the same as fixed size, except adjusts when the user increases their browser default text size. This is considered accessible. Float-based layouts Clear Float Wrapper (container) Divs To position elements in columns, use the float property. Normally each <Div> begins below the last <Div>. The float property allows the following object to move up, next to the float object. To force an object back down to the next line (when the preceding object is using the float property) use the clear property. clear: left; to clear following a left floating object You can wrap Divs around other Divs. For example, a container Div could be centered on the page, and then all other divs for the sections of the page are within the page. You can also wrap Divs around others to hold columns together, and prevent the floating columns from dropping into multiple rows on smaller screens. #idname { float: left; float values include: left, right, or none. #idname { clear: left; clear values include: left, right, or both. #idname { width: 450px; margin-left: auto; margin-right: auto; One way to center a div is specify a width, and then set the left and right margins to auto. 7

8 <body> #header #navigation-bar #sidebar #main-content #ads #footer <div id="header"> <p>header content goes here</p> <div id="navigation-bar"> <p>navigation bar content goes here</p> <div id="wrapper"> <div id="sidebar"> <p>sidebar content goes here</p> <div id="main-content"> <p>main content goes here</p> <div id="ads"> <p>ad content goes here</p> <div id="footer"> <p>footer content goes here</p> </body> #wrapper body { font-family: arial, helvetica, sans-serif; font-size: 100%; margin: 0px; padding: 0px; #header { background-color: #338855; background-image: url(image.filename.jpg); border: 2px dotted #ffffff; padding: 20px; width: 100%; #navigation-bar { background-color: #338855; padding-top: 10px; padding-bottom: 10px; border-bottom: 2px solid #ff5522; width: 100%; text-align: center; #wrapper { width: 856px; margin-left: auto; margin-right: auto; #sidebar { background-color: #ff0000; width: 250px; padding: 10px; margin-right: 20px; border: 1px solid #ffffff; float: left; #main-content { background-color: #999999; width: 350px; padding: 10px; margin-right: 20px; border: 1px solid #333333; float: left; #ads { background-color: #ff7700; width: 150px; padding: 10px; border-top: 2px dotted #ffffff; border-left: 2px dotted #ffffff; float: left; #footer { background-color: #998833; padding-top: 10px; padding-bottom: 10px; width: 100%; text-align: center; clear: left; 8

CSS. CSS - cascading style sheets CSS - permite separar num documento HTML o conteúdo do estilo. ADI css 1/28

CSS. CSS - cascading style sheets CSS - permite separar num documento HTML o conteúdo do estilo. ADI css 1/28 CSS CSS - cascading style sheets CSS - permite separar num documento HTML o conteúdo do estilo ADI css 1/28 Cascaded Style Sheets Por ordem de prioridade: Inline

More information

{color:blue; font-size: 12px;}

{color:blue; font-size: 12px;} CSS stands for cascading style sheets. Styles define how to display a web page. Styles remove the formatting of a document from the content of the document. There are 3 ways that styles can be applied:

More information

Web Design for Print Designers WEB DESIGN FOR PRINT DESIGNERS: WEEK 6

Web Design for Print Designers WEB DESIGN FOR PRINT DESIGNERS: WEEK 6 Web Design for Print Designers CSS uses a variety of declarations for styling text. Many use the variations of the font declaration. Other styles are done using different declarations. The font declaration

More information

Introduction to Adobe Dreamweaver CC

Introduction to Adobe Dreamweaver CC Introduction to Adobe Dreamweaver CC What is Dreamweaver? Dreamweaver is the program that we will be programming our websites into all semester. We will be slicing our designs out of Fireworks and assembling

More information

Web Design with CSS and CSS3. Dr. Jan Stelovsky

Web Design with CSS and CSS3. Dr. Jan Stelovsky Web Design with CSS and CSS3 Dr. Jan Stelovsky CSS Cascading Style Sheets Separate the formatting from the structure Best practice external CSS in a separate file link to a styles from numerous pages Style

More information

CST 150 Web Design I CSS Review - In-Class Lab

CST 150 Web Design I CSS Review - In-Class Lab CST 150 Web Design I CSS Review - In-Class Lab The purpose of this lab assignment is to review utilizing Cascading Style Sheets (CSS) to enhance the layout and formatting of web pages. For Parts 1 and

More information

Simply download Beepip from http://beepip.com and run the file when it arrives at your computer.

Simply download Beepip from http://beepip.com and run the file when it arrives at your computer. Beepip User Guide How To's: How do I install Beepip? Simply download Beepip from http://beepip.com and run the file when it arrives at your computer. How do I set up Beepip? Once you've opened up Beepip,

More information

HTML5 and CSS3 The Future of the Web Programming CSS. Sergio Luján Mora

HTML5 and CSS3 The Future of the Web Programming CSS. Sergio Luján Mora HTML5 and CSS3 The Future of the Web Programming CSS Sergio Luján Mora 1 Content Introduction Linking HTML and CSS Rules, selectors, and properties Text properties Background Links Box model Layout Introduction

More information

What is CSS? Official W3C standard for controlling presentation Style sheets rely on underlying markup structure

What is CSS? Official W3C standard for controlling presentation Style sheets rely on underlying markup structure CSS Peter Cho 161A Notes from Jennifer Niederst: Web Design in a Nutshell and Thomas A. Powell: HTML & XHTML, Fourth Edition Based on a tutorials by Prof. Daniel Sauter / Prof. Casey Reas What is CSS?

More information

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University Web Design Basics Cindy Royal, Ph.D. Associate Professor Texas State University HTML and CSS HTML stands for Hypertext Markup Language. It is the main language of the Web. While there are other languages

More information

Further web design: Cascading Style Sheets Practical workbook

Further web design: Cascading Style Sheets Practical workbook Further web design: Cascading Style Sheets Practical workbook Aims and Learning Objectives This document gives an introduction to the use of Cascading Style Sheets in HTML. When you have completed these

More information

Web Design and Databases WD: Class 7: HTML and CSS Part 3

Web Design and Databases WD: Class 7: HTML and CSS Part 3 Web Design and Databases WD: Class 7: HTML and CSS Part 3 Dr Helen Hastie Dept of Computer Science Heriot-Watt University Some contributions from Head First HTML with CSS and XHTML, O Reilly Recap! HTML

More information

HTML5 and CSS3 Design with CSS Page 1

HTML5 and CSS3 Design with CSS Page 1 HTML5 and CSS3 Design with CSS Page 1 1 12 2 3 3 4 45 5 6 6 7 7 HTML5 and CSS3 DESIGN WITH CSS Styles in HTML Documents Styles provide a method of creating consistent formatting of elements throughout

More information

ITNP43: HTML Lecture 4

ITNP43: HTML Lecture 4 ITNP43: HTML Lecture 4 1 Style versus Content HTML purists insist that style should be separate from content and structure HTML was only designed to specify the structure and content of a document Style

More information

Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification

Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification W3C Recommendation 07 June 2011, edited in place 12 April 2016 to point to new work This version: http://www.w3.org/tr/2011/rec-css2-20110607

More information

Web layout guidelines for daughter sites of Scotland s Environment

Web layout guidelines for daughter sites of Scotland s Environment Web layout guidelines for daughter sites of Scotland s Environment Current homepage layout of Scotland s Aquaculture and Scotland s Soils (September 2014) Design styles A daughter site of Scotland s Environment

More information

Creating a Resume Webpage with

Creating a Resume Webpage with Creating a Resume Webpage with 6 Cascading Style Sheet Code In this chapter, we will learn the following to World Class CAD standards: Using a Storyboard to Create a Resume Webpage Starting a HTML Resume

More information

Web Design and Development ACS-1809. Chapter 9. Page Structure

Web Design and Development ACS-1809. Chapter 9. Page Structure Web Design and Development ACS-1809 Chapter 9 Page Structure 1 Chapter 9: Page Structure Organize Sections of Text Format Paragraphs and Page Elements 2 Identifying Natural Divisions It is normal for a

More information

Stylesheet or in-line CSS CSS attributes, used in stylesheets or in-line, can define:

Stylesheet or in-line CSS CSS attributes, used in stylesheets or in-line, can define: Stylesheet or in-line CSS CSS attributes, used in stylesheets or in-line, can define: body, div, p, h1 - h6, hr, table, thead, tr, th, td, blockquote, address, ol, ul, dl, dt, dd span, a, font class e.g..stylename

More information

Print all 18 Chapters - CSS Basics

Print all 18 Chapters - CSS Basics Or you can also use the @import method as shown below Print all 18 Chapters - CSS Basics CSS Basics.com Chapter: 1 - Introduction to CSS A CSS (cascading style sheet) file allows you to separate your web

More information

Web Authoring CSS. www.fetac.ie. Module Descriptor

Web Authoring CSS. www.fetac.ie. Module Descriptor The Further Education and Training Awards Council (FETAC) was set up as a statutory body on 11 June 2001 by the Minister for Education and Science. Under the Qualifications (Education & Training) Act,

More information

JJY s Joomla 1.5 Template Design Tutorial:

JJY s Joomla 1.5 Template Design Tutorial: JJY s Joomla 1.5 Template Design Tutorial: Joomla 1.5 templates are relatively simple to construct, once you know a few details on how Joomla manages them. This tutorial assumes that you have a good understanding

More information

Using Style Sheets for Consistency

Using Style Sheets for Consistency Cascading Style Sheets enable you to easily maintain a consistent look across all the pages of a web site. In addition, they extend the power of HTML. For example, style sheets permit specifying point

More information

Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc. 949-654-3890 mraymond@luminys.com www.luminys.com

Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc. 949-654-3890 mraymond@luminys.com www.luminys.com Essential HTML & CSS for WordPress Mark Raymond Luminys, Inc. 949-654-3890 mraymond@luminys.com www.luminys.com HTML: Hypertext Markup Language HTML is a specification that defines how pages are created

More information

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates What is a DIV tag? First, let s recall that HTML is a markup language. Markup provides structure and order to a page. For example,

More information

Contents. Downloading the Data Files... 2. Centering Page Elements... 6

Contents. Downloading the Data Files... 2. Centering Page Elements... 6 Creating a Web Page Using HTML Part 1: Creating the Basic Structure of the Web Site INFORMATION TECHNOLOGY SERVICES California State University, Los Angeles Version 2.0 Winter 2010 Contents Introduction...

More information

Advanced Editor User s Guide

Advanced Editor User s Guide Advanced Editor User s Guide 1601 Trapelo Road Suite 329 Waltham, MA 02451 www.constantcontact.com Constant Contact, Inc. reserves the right to make any changes to the information contained in this publication

More information

CSS for Page Layout. Key Concepts

CSS for Page Layout. Key Concepts CSS for Page Layout Key Concepts CSS Page Layout Advantages Greater typography control Style is separate from structure Potentially smaller documents Easier site maintenance Increased page layout control

More information

CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5

CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5 CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5 Step 1 - Creating list of links - (5 points) Traditionally, CSS navigation is based on unordered list - . Any navigational bar can be

More information

Last week we talked about creating your own tags: div tags and span tags. A div tag goes around other tags, e.g.,:

Last week we talked about creating your own tags: div tags and span tags. A div tag goes around other tags, e.g.,: CSS Tutorial Part 2: Last week we talked about creating your own tags: div tags and span tags. A div tag goes around other tags, e.g.,: animals A paragraph about animals goes here

More information

CREATING WEB PAGE WITH NOTEPAD USING HTML AND CSS

CREATING WEB PAGE WITH NOTEPAD USING HTML AND CSS CREATING WEB PAGE WITH NOTEPAD USING HTML AND CSS The following exercises illustrate the process of creating and publishing Web pages with Notepad, which is the plain text editor that ships as part of

More information

Outline of CSS: Cascading Style Sheets

Outline of CSS: Cascading Style Sheets Outline of CSS: Cascading Style Sheets nigelbuckner 2014 This is an introduction to CSS showing how styles are written, types of style sheets, CSS selectors, the cascade, grouping styles and how styles

More information

Coding Standards for Web Development

Coding Standards for Web Development DotNetDaily.net Coding Standards for Web Development This document was downloaded from http://www.dotnetdaily.net/ You are permitted to use and distribute this document for any noncommercial purpose as

More information

Chapter 7 Page Layout Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Chapter 7 Page Layout Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D Chapter 7 Page Layout Basics Key Concepts Copyright 2013 Terry Ann Morris, Ed.D 1 Learning Outcomes float fixed positioning relative positioning absolute positioning two-column page layouts vertical navigation

More information

CSS - Cascading Style Sheets

CSS - Cascading Style Sheets CSS - Cascading Style Sheets From http://www.csstutorial.net/ http://www.w3schools.com/css/default.asp What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements External

More information

DREAMWEAVER CS5.5: USING STYLE SHEETS

DREAMWEAVER CS5.5: USING STYLE SHEETS Medical Library/Department of Information & Communication Sciences WHAT ARE STYLE SHEETS? DREAMWEAVER CS5.5: USING STYLE SHEETS Style sheets are collections of rules that define the styles of a document.

More information

Dreamweaver Cascading Style Sheets

Dreamweaver Cascading Style Sheets Dreamweaver Cascading Style Sheets Email: training@ ufl.edu Web Page: http://training.health.ufl.edu 2 This page intentionally left blank. Dreamweaver Cascading Style Sheets What are Cascading Style Sheets?...

More information

Development Perspective: DIV and CSS HTML layout. Web Design. Lesson 2. Development Perspective: DIV/CSS

Development Perspective: DIV and CSS HTML layout. Web Design. Lesson 2. Development Perspective: DIV/CSS Web Design Lesson 2 Development Perspective: DIV/CSS Why tables have been tabled Tables are a cell based layout tool used in HTML development. Traditionally they have been the primary tool used by web

More information

Cascading Style Sheets (CSS)

Cascading Style Sheets (CSS) 6 Cascading Style Sheets (CSS) Objectives To control the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of a Web site the same look and feel. To use the class

More information

Full report on all 24 clients

Full report on all 24 clients 1 of 6 3/15/2011 11:05 AM Campaign Monitor - Home Features Pricing Customers Resources Support Our Story Blog Sign Up Login Create an Account Tips & Resources Designing and building emails Designing an

More information

Introduction to Cascading Style Sheets

Introduction to Cascading Style Sheets Introduction to Cascading Style Sheets Welcome to the CSS workshop! Before you begin this workshop you should have some basic understanding of HTML and building web pages. What is CSS anyway and what will

More information

CHAPTER 10. When you complete this chapter, you will be able to:

CHAPTER 10. When you complete this chapter, you will be able to: Data Tables CHAPTER 10 When you complete this chapter, you will be able to: Use table elements Use table headers and footers Group columns Style table borders Apply padding, margins, and fl oats to tables

More information

Creating Web Pages with Dreamweaver CS 6 and CSS

Creating Web Pages with Dreamweaver CS 6 and CSS Table of Contents Overview... 3 Getting Started... 3 Web Page Creation Tips... 3 Creating a Basic Web Page Exercise... 4 Create a New Page... 4 Using a Table for the Layout... 5 Adding Text... 6 Adding

More information

Style & Layout in the web: CSS and Bootstrap

Style & Layout in the web: CSS and Bootstrap Style & Layout in the web: CSS and Bootstrap Ambient intelligence: technology and design Fulvio Corno Politecnico di Torino, 2014/2015 Goal Styling web content Advanced layout in web pages Responsive layouts

More information

Create Your own Company s Design Theme

Create Your own Company s Design Theme Create Your own Company s Design Theme A simple yet effective approach to custom design theme INTRODUCTION Iron Speed Designer out of the box already gives you a good collection of design themes, up to

More information

Basics of HTML (some repetition) Cascading Style Sheets (some repetition) Web Design

Basics of HTML (some repetition) Cascading Style Sheets (some repetition) Web Design Basics of HTML (some repetition) Cascading Style Sheets (some repetition) Web Design Contents HTML Quiz Design CSS basics CSS examples CV update What, why, who? Before you start to create a site, it s

More information

Cascading Style Sheet (CSS) Tutorial Using Notepad. Step by step instructions with full color screen shots

Cascading Style Sheet (CSS) Tutorial Using Notepad. Step by step instructions with full color screen shots Updated version September 2015 All Creative Designs Cascading Style Sheet (CSS) Tutorial Using Notepad Step by step instructions with full color screen shots What is (CSS) Cascading Style Sheets and why

More information

CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions)

CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions) CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions) Step 1 - DEFINE A NEW WEB SITE - 5 POINTS 1. From the welcome window that opens select the Dreamweaver Site... or from the main

More information

Page layout & typography. graphic design

Page layout & typography. graphic design Page layout & typography graphic design first impressions lecture goals To help you better communicate the purpose of your web pages by visually emphasizing the most important features and relationships

More information

Wykład 2_2 TINT. Kaskadowe arkusze stylu Tabele, zastosowanie znaczników div. Zofia Kruczkiewicz

Wykład 2_2 TINT. Kaskadowe arkusze stylu Tabele, zastosowanie znaczników div. Zofia Kruczkiewicz Wykład 2_2 TINT Kaskadowe arkusze stylu Tabele, zastosowanie znaczników div Zofia Kruczkiewicz 1. Zewnętrzne arkusze stylów dla tabel i tła 1.1. Kod html strony www z p. 1 stosujący zewnętrzne arkusze

More information

3Creating CSS. Column Layouts. For all the benefits of using CSS to create your page layouts more. Crafting a Two-Column CSS Layout 35

3Creating CSS. Column Layouts. For all the benefits of using CSS to create your page layouts more. Crafting a Two-Column CSS Layout 35 3Creating CSS Column Layouts Crafting a Two-Column CSS Layout 35 Setting Up the Page Structure 36 Building the Header and Navigation 41 Containing the Content 44 For all the benefits of using CSS to create

More information

Responsive Email Design

Responsive Email Design Responsive Email Design For the Hospitality Industry By Arek Klauza, Linda Tran & Carrie Messmore February 2013 Responsive Email Design There has been a lot of chatter in recent months in regards to Responsive

More information

Creating the Surf Shop website Part3 REVISED

Creating the Surf Shop website Part3 REVISED Creating the Surf Shop website Part3 REVISED Part 2 Recap: You should have the navigation completed for the website before starting Part 3. 1)Create a new DIV in index.html. It should come after banner

More information

Cascading Style Sheets Written by: Steven D. Anderson, Ph.D.

Cascading Style Sheets Written by: Steven D. Anderson, Ph.D. Cascading Style Sheets Written by: Steven D. Anderson, Ph.D. Resources WestCIV Complete Style Guide: http://www.westciv.com/style_master/academy/css_tutorial/index.html Tizag.com: http://www.tizag.com/csst

More information

CSS Template Tutorial. Please take your time to visit http://www.freecss.info

CSS Template Tutorial. Please take your time to visit http://www.freecss.info CSS Template Tutorial Please take your time to visit http://www.freecss.info Table of Contents Step 1 Setting up. page 3 Step 2 Coding the basics.page 5 Step 3 Coding and slicing the header. page 9 Step

More information

Step 2: Now create a css stylesheet and add a general style for paragraphs that looks something like this: p {

Step 2: Now create a css stylesheet and add a general style for paragraphs that looks something like this: p { CSS3 Lab Extra Credit (10 pts): CSS3 is the new standard for CSS. It is backwards-compatible with all older versions of CSS. However, it has some added features that are cool in and of themselves, or that

More information

Level 1 - Clients and Markup

Level 1 - Clients and Markup Level 1 - Clients and Markup The design for the email we ll build In this level The skills you ll need to compete Power Moves HTML and CSS Media queries Signature Move Using external resources An HTML

More information

Garfield Public Schools Fine & Practical Arts Curriculum Web Design

Garfield Public Schools Fine & Practical Arts Curriculum Web Design Garfield Public Schools Fine & Practical Arts Curriculum Web Design (Half-Year) 2.5 Credits Course Description This course provides students with basic knowledge of HTML and CSS to create websites and

More information

GUIDE TO CODE KILLER RESPONSIVE EMAILS

GUIDE TO CODE KILLER RESPONSIVE EMAILS GUIDE TO CODE KILLER RESPONSIVE EMAILS THAT WILL MAKE YOUR EMAILS BEAUTIFUL 3 Create flawless emails with the proper use of HTML, CSS, and Media Queries. But this is only possible if you keep attention

More information

Mobile Web Site Style Guide

Mobile Web Site Style Guide YoRk University Mobile Web Site Style Guide Table of Contents This document outlines the graphic standards for the mobile view of my.yorku.ca. It is intended to be used as a guide for all York University

More information

LaGuardia Community College 31-10 Thomson Ave, Long Island City, New York 11101 Created by ISMD s Dept. Training Team. Overview

LaGuardia Community College 31-10 Thomson Ave, Long Island City, New York 11101 Created by ISMD s Dept. Training Team. Overview Overview Dreamweaver gives you many options when it comes to setting the properties for your webpages. Within the "Page Properties" dialog box, you can set the appearance of your page, name your page and

More information

Code View User s Guide

Code View User s Guide Code View User s Guide 1601 Trapelo Road Suite 329 Waltham, MA 02451 www.constantcontact.com Constant Contact, Inc. reserves the right to make any changes to the information contained in this publication

More information

Responsive Web Design: Media Types/Media Queries/Fluid Images

Responsive Web Design: Media Types/Media Queries/Fluid Images HTML Media Types Responsive Web Design: Media Types/Media Queries/Fluid Images Mr Kruyer s list of HTML Media Types to deliver CSS to different devices. Important note: Only the first three are well supported.

More information

HTML CSS Basic Structure. HTML Structure [Source Code] CSS Structure [Cascading Styles] DIV or ID Tags and Classes. The BOX MODEL

HTML CSS Basic Structure. HTML Structure [Source Code] CSS Structure [Cascading Styles] DIV or ID Tags and Classes. The BOX MODEL HTML CSS Basic Structure HTML [Hypertext Markup Language] is the code read by a browser and defines the overall page structure. The HTML file or web page [.html] is made up of a head and a body. The head

More information

C:\wamp\www\webdok\07bootstrap\bootstrap-3.2.0-dist\css\bootstrap.css 2. juli 2014 13:18

C:\wamp\www\webdok\07bootstrap\bootstrap-3.2.0-dist\css\bootstrap.css 2. juli 2014 13:18 /*! * Bootstrap v3.2.0 (http://getbootstrap.com) * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/license) */ /*! normalize.css v3.0.1 MIT License

More information

Web Design I. Spring 2009 Kevin Cole Gallaudet University 2009.03.05

Web Design I. Spring 2009 Kevin Cole Gallaudet University 2009.03.05 Web Design I Spring 2009 Kevin Cole Gallaudet University 2009.03.05 Layout Page banner, sidebar, main content, footer Old method: Use , , New method: and "float" CSS property Think

More information

MCH Strategic Data Best Practices Review

MCH Strategic Data Best Practices Review MCH Strategic Data Best Practices Review Presenters Alex Bardoff Manager, Creative Services abardoff@whatcounts.com Lindsey McFadden Manager, Campaign Production Services lmcfadden@whatcounts.com 2 Creative

More information

Klik op deze albums als u de foto s van onze evenementen wil ontdekken.

Klik op deze albums als u de foto s van onze evenementen wil ontdekken. Fotogalerij by Charlotte Dion - mardi, août 04, 2015 http://www.acfbenelux.be/nl/fotogalerij/ Klik op deze albums als u de foto s van onze evenementen wil ontdekken. var lightbox_transition = 'elastic';

More information

HTML and CSS. Elliot Davies. April 10th, 2013. ed37@st-andrews.ac.uk

HTML and CSS. Elliot Davies. April 10th, 2013. ed37@st-andrews.ac.uk HTML and CSS Elliot Davies ed37@st-andrews.ac.uk April 10th, 2013 In this talk An introduction to HTML, the language of web development Using HTML to create simple web pages Styling web pages using CSS

More information

Dreamweaver: Styling and Layout Using CSS

Dreamweaver: Styling and Layout Using CSS Dreamweaver: Styling and Layout Using CSS ii How to Use This Book The Exercises This handbook accompanies the taught sessions for the course. Each section contains a brief overview of a topic for your

More information

Table of contents. Advanced CSS Animator DMXzone.com

Table of contents. Advanced CSS Animator DMXzone.com Table of contents Table of contents... 1 About Advanced CSS Animator... 2 Features in Detail... 3 What people say about Advanced CSS Animator:... 10 The Basics: Creating Pupup Effect on Mouse Over... 12

More information

Base template development guide

Base template development guide Scandiweb Base template development guide General This document from Scandiweb.com contains Magento theme development guides and theme development case study. It will basically cover two topics Magento

More information

Table of Contents Find out more about NewZapp

Table of Contents Find out more about NewZapp Table of Contents Why is email display an issue in email marketing?... 2 Expert Email Design... 3 Desktop PC and Apple Mac email applications... 4 Web and mobile device email readers... 5 Creating your

More information

ICE: HTML, CSS, and Validation

ICE: HTML, CSS, and Validation ICE: HTML, CSS, and Validation Formatting a Recipe NAME: Overview Today you will be given an existing HTML page that already has significant content, in this case, a recipe. Your tasks are to: mark it

More information

Positioning Container Elements

Positioning Container Elements Advanced Lesson Group 3 - Element Positioning with CSS Positioning Container Elements The position: style property is used to move block elements to a specific location on the web page. The position style

More information

Microsoft Expression Web Quickstart Guide

Microsoft Expression Web Quickstart Guide Microsoft Expression Web Quickstart Guide Expression Web Quickstart Guide (20-Minute Training) Welcome to Expression Web. When you first launch the program, you ll find a number of task panes, toolbars,

More information

C A S C A D I N G S T Y L E S H E E T S :

C A S C A D I N G S T Y L E S H E E T S : C A S C A D I N G S T Y L E S H E E T S : BACKGROUND Background Color To specify a solid background color, use the background-color property. Color values used for the background-color property can be

More information

Email Campaign Guidelines and Best Practices

Email Campaign Guidelines and Best Practices epromo Guidelines HTML Maximum width 700px (length = N/A) Maximum total file size, including all images = 200KB Only use inline CSS, no stylesheets Use tables, rather than layout Use more TEXT instead

More information

HTML & CSS Brief Introduction and Exercises

HTML & CSS Brief Introduction and Exercises HTML & CSS Brief Introduction and Exercises Chris Sparks HTML and CSS are useful to understand when working on digital editions, since they are very frequently published online, and hence often make use

More information

Basic tutorial for Dreamweaver CS5

Basic tutorial for Dreamweaver CS5 Basic tutorial for Dreamweaver CS5 Creating a New Website: When you first open up Dreamweaver, a welcome screen introduces the user to some basic options to start creating websites. If you re going to

More information

This document will describe how you can create your own, fully responsive. drag and drop email template to use in the email creator.

This document will describe how you can create your own, fully responsive. drag and drop email template to use in the email creator. 1 Introduction This document will describe how you can create your own, fully responsive drag and drop email template to use in the email creator. It includes ready-made HTML code that will allow you to

More information

Email Creator Coding Guidelines Toolbox

Email Creator Coding Guidelines Toolbox Email Creator Coding Guidelines Toolbox The following information is needed when coding your own template from html to be imported into the Email Creator. You will need basic html and css knowledge for

More information

8 STEPS TO CODE KILLER RESPONSIVE EMAILS

8 STEPS TO CODE KILLER RESPONSIVE EMAILS 8 STEPS TO CODE KILLER RESPONSIVE EMAILS THAT WILL MAKE YOUR EMAILS BEAUTIFUL 3 BUILD RESPONSIVE EMAIL STEP BY STEP Steps to create a simple responsive email template. (fluid image, main content, two

More information

Item Editor Reference Guide

Item Editor Reference Guide Item Editor Reference Guide This reference guide is intended for all iwebfolio users. The item editor is the editing tool that appears when a user is editing an item within a portfolio or template. This

More information

Table of Contents THE DESIGNER S GUIDE TO CREATING NEWZAPP DRAG AND DROP TEMPLATES... 6 THE NEWZAPP SYSTEM... 7

Table of Contents THE DESIGNER S GUIDE TO CREATING NEWZAPP DRAG AND DROP TEMPLATES... 6 THE NEWZAPP SYSTEM... 7 Version 4.0.1 Table of Contents THE DESIGNER S GUIDE TO CREATING NEWZAPP DRAG AND DROP TEMPLATES... 6 THE NEWZAPP SYSTEM... 7 HOW THE SYSTEM WORKS... 7 THE TWO MAIN HTML EMAIL DESIGN OPTIONS FOR NEWZAPP...

More information

Web publishing: An introduction to CSS

Web publishing: An introduction to CSS Web publishing: An introduction to CSS 1 1 How to Use this User Guide 1.1. The Exercises This handbook accompanies the taught sessions for the course. Each section contains a brief overview of a topic

More information

Using an external style sheet with Dreamweaver (CS6)

Using an external style sheet with Dreamweaver (CS6) Using an external style sheet with Dreamweaver (CS6) nigelbuckner.com 2012 This handout explains how to create an external style sheet, the purpose of selector types and how to create styles. It does not

More information

Introduction to web development and JavaScript

Introduction to web development and JavaScript Objectives Chapter 1 Introduction to web development and JavaScript Applied Load a web page from the Internet or an intranet into a web browser. View the source code for a web page in a web browser. Knowledge

More information

In this chapter, you will learn how to...

In this chapter, you will learn how to... LEARNING OUTCOMES In this chapter, you will learn how to... Create a table on a web page Apply attributes to format tables, table rows, and table cells Increase the accessibility of a table Style an HTML

More information

Web Technology Lecture 1: Introduction

Web Technology Lecture 1: Introduction Web Technology Lecture 1: Introduction An Overview of web technologies, Web Browser, Web Server, How Web works, Intranet, Extranet, Internet Programming, Client-side programming, Server-side programming

More information

Kentico CMS, 2011 Kentico Software. Contents. Mobile Development using Kentico CMS 6 2 Exploring the Mobile Environment 1

Kentico CMS, 2011 Kentico Software. Contents. Mobile Development using Kentico CMS 6 2 Exploring the Mobile Environment 1 Contents Mobile Development using Kentico CMS 6 2 Exploring the Mobile Environment 1 Time for action - Viewing the mobile sample site 2 What just happened 4 Time for Action - Mobile device redirection

More information

Tips and tricks with Text boxes in Mahara

Tips and tricks with Text boxes in Mahara Tips and tricks with Text boxes in Mahara This tutorial assumes that you know how to drag a Text box block down to your page content area. Contents 1. The parts of a Text box... 2 2. What each of the buttons

More information

Building a Horizontal Menu in Dreamweaver CS3 Using Spry R. Berdan

Building a Horizontal Menu in Dreamweaver CS3 Using Spry R. Berdan Building a Horizontal Menu in Dreamweaver CS3 Using Spry R. Berdan In earlier versions of dreamweaver web developers attach drop down menus to graphics or hyperlinks by using the behavior box. Dreamweaver

More information

Flare Tips and Tricks. Tips and tricks. Importing content Lists. Variables and snippets Condition tags Printed documentation WebHelp.

Flare Tips and Tricks. Tips and tricks. Importing content Lists. Variables and snippets Condition tags Printed documentation WebHelp. Flare Tips and Tricks Scott DeLoach scott@clickstart.net t t t Founder, ClickStart Certified Instructor, Flare RoboHelp Captivate Author, MadCap Flare for RoboHelp Users 2007 ClickStart, Inc. All rights

More information

The Training Floor s. Webmaster s. Bible

The Training Floor s. Webmaster s. Bible The Training Floor s Webmaster s Bible Host... 4 Login for WordPress... 4 Making Mistakes... 4 Email... 4 Retrieving Email... 5 Setting up Email on phones or computer... 5 Editing Pages... 5 Creating Email

More information

Appendix H: Cascading Style Sheets (CSS)

Appendix H: Cascading Style Sheets (CSS) Appendix H: Cascading Style Sheets (CSS) Cascading Style Sheets offer Web designers two key advantages in managing complex Web sites: Separation of content and design. CSS gives developers the best of

More information

BLACKBOARD 9.1: Text Editor

BLACKBOARD 9.1: Text Editor BLACKBOARD 9.1: Text Editor The text editor in Blackboard is a feature that appears in many different areas, but generally has the same look and feel no matter where it appears. The text editor has changed

More information

WYSIWYG Editor in Detail

WYSIWYG Editor in Detail WYSIWYG Editor in Detail 1. Print prints contents of the Content window 2. Find And Replace opens the Find and Replace dialogue box 3. Cut removes selected content to clipboard (requires a selection) 4.

More information

Make a Joomla Template in 5 Easy Steps A Beginners Guide

Make a Joomla Template in 5 Easy Steps A Beginners Guide Make a Joomla Template in 5 Easy Steps A Beginners Guide By Gary Reid http://clubtvk.com Copyright 2006 Gary Reid. All Rights Reserved. No part of this book may be used or reproduced in any manner whatsoever

More information

Using Adobe Dreamweaver CS4 (10.0)

Using Adobe Dreamweaver CS4 (10.0) Getting Started Before you begin create a folder on your desktop called DreamweaverTraining This is where you will save your pages. Inside of the DreamweaverTraining folder, create another folder called

More information