Similar documents
file:///users/nma/desktop/chris_mac/chris_school/kcc_nmawebsite/_technology/sitebuild/htdocs/gargiulo/data/johndoe/spring/art128...

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3

CSS.

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

Lab 1: Introducing HTML5 and CSS3

CSS: Layout Part 2. clear. CSS for layout and formatting: clear

2005 WebGUI Users Conference

CSS exercise - Part 1

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

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar

GDES218. Using Faux Column Technique In this project you will learn how to use background images to create a layout that uses faux column technique.

/* ========================================================================== PROJECT STYLES

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

CSS. MPRI : Web Data Management. Antoine Amarilli Friday, December 7th 1/43

Unit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 4 The Box Model

CSS Cascading Style Sheets

Web Designer s Reference

PUBLISHER SPECIFIC CSS RULES

Stamp Builder. Documentation. v1.0.0

HTML & CSS November 19, 2014

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

Unit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 4 The Box Model

HTML & CSS Cheat Sheet

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

Media-Specific Styles

Chapter 7 BMIS335 Web Design & Development

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

Agenda. Combining Rules & Selectors Classes, IDs and DIVs

CSC309 Programming on the Web week 3: css, rwd

CS 350 Internet Applications I Name: Exam II (CSS) October 29, 2013

Zen Garden. CSS Zen Garden

Media Types & Media Features

Wanted! Introduction. Step 1: Styling your poster. Activity Checklist. In this project, you ll learn how to make your own poster.

WEBSI TE DESIGNING TRAINING

Web Publishing Intermediate 2

Santa Tracker. Release Notes Version 1.0

AGENDA. EMBEDDING FONTS [ Font Files & CSS font-family ] :: Online Font Converter :: ADD font-family css code to style.css

HTML HTML5. DOM(Document Object Model) CSS CSS

COSC 2206 Internet Tools. CSS Cascading Style Sheets

CSE 154 LECTURE 5: FLOATING AND POSITIONING

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

Responsive Web Design (RWD)

<Time and Space> View of Bergen. DIKULT 105 Web Disign words.

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

CSS3 Basics. From & CSS Visual Dictionary Learning Curve Books, LLC

Getting your work online. behance.net cargo collective krop coroflot

Cascading Style Sheets (CSS)

7300 Warden Avenue, Suite 503 Markham, Ontario Canada L3R 9Z6. Phone: Toll Free: Fax:

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

Responsive web design (RWD) CSS3 Media queries. Mobile vs desktop web sites. Web Development 1 CS1115/CS5002

Styles, Style Sheets, the Box Model and Liquid Layout

Downloads: Google Chrome Browser (Free) - Adobe Brackets (Free) -

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

Cascading Style Sheets Level 2

Using CSS for page layout

MichPA Content Guide. Table of Contents. Website Section Overview. Global Banner & Navigation. Content Area Client editable

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

5 Snowdonia. 94 Web Applications with C#.ASP

Thinking inside the box

Getting Started with Eric Meyer's CSS Sculptor 1.0

Cascading Style Sheets

CSS Module in 2 Parts

CSS often uses hyphens in CSS property names but JavaScript uses camel case, e.g. color: blue; p { <!DOCTYPE html> <meta charset="utf-8" /> <head>

Wireframe :: tistory wireframe tistory.

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

Introduction to WEB PROGRAMMING

Review Question 1. Which tag is used to create a link to another page? 1. <p> 2. <li> 3. <a> 4. <em>

Web Application Styling

CSS Styles Quick Reference Guide

CSS: Cascading Style Sheets

CSS means Cascading Style Sheets. It is used to style HTML documents.

Web Engineering CSS. By Assistant Prof Malik M Ali

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

Programmazione Web a.a. 2017/2018 HTML5

Building Page Layouts

Cascading Style Sheet. Styles as Tag Attributes. Syntax. <h1>: what font type/size is used? STYLE = SELECTOR {RULES} Attributes such as bgcolor

Let s start with the document tree

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

Reading 2.2 Cascading Style Sheets

<!-- Bootstrap core CSS --> <link href=" ap.min.css" rel="stylesheet">

CSS. Shan-Hung Wu CS, NTHU

td { page-break-inside: avoid; } tr { page-break-after: avoid; } div.section1 { page: Section1; }

CSS. M hiwa ahamad aziz Raparin univercity. 1 Web Design: Lecturer ( m hiwa ahmad aziz)

CMPT 165 Advanced XHTML & CSS Part 3

Signs of Spring App. Release Notes Version 1.0

CLASSES are a way to select custom elements without using a tag name

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

Web Style Guide. May 15, 2010

Dreamweaver: Portfolio Site

CSS Cascading Style Sheets

INTRODUCTION TO CSS. Topics MODULE 5

To link to an external stylesheet, the link element is placed within the head of the html page:

Creating and Building Websites

RFID Chips Are Here. What You Need to Know. Washington University in St. Louis. ! R. Scott Granneman

Hoster: openload.co - Free PLUGIN_DEFECT-Error: 08d a1830b60ab13ddec9a2ff6

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

Creating a CSS driven menu system Part 1

HIERARCHICAL ORGANIZATION

Block & Inline Elements

3. Each of these mark examples contains an error. a. <input name= country value= Your country here. /> b. <checkbox name= color value= teal />

Transcription:

http://nma.kcc.hawaii.edu/gargiulo/data/johndoe/spring/art128/2014/companyname1_step3/index.html 1 <!doctype html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>company Name</title> 6 7 <!-- HTML5 --> 8 <!--[if lt IE 9]> 9 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> 10 <![endif]--> 11 12 <!-- VIEWPORT FOR MOBILE --> 13 <meta name="viewport" content="width=device-width; initial-scale=1"/> 14 15 <!-- MAIN CSS --> 16 <link href="css/style.css" rel="stylesheet" type="text/css"> 17 18 </head> 19 20 <body> 21 22 23 <header> 24 <div class="container"> 25 26 <h1><a href="index.html">company Name</a></h1> 27 <p>tagline</p> 28 29 <nav id="utilitynav"> 30 <ul> 31 <li><a href="#">link</a></li> 32 <li><a href="#">link</a></li> 33 <li><a href="#">link</a></li> 34 </ul> 35 </nav> 36 37 </div><!-- END CONTAINER --> 38 </header> 39 40 <nav id="mainnav"> 41 <div class="container"> 42 43 <ul class="group"> 44 <li class="selected"><a href="index.html">home</a></li> 45 <li><a href="about.html">about</a></li> 46 <li><a href="#">products</a></li> 47 <li><a href="#">contact</a></li> 48 </ul> 49 50 </div><!-- END CONTAINER --> 51 </nav> 52 53 <section id="section01"> 54 <div class="container"> 55 56 <a href="#"><img src="images/placeholder-lg.gif" alt="large Placeholder Image" class="scale-with-grid"></a> 57 58 <h2>large Intro Type Block With a Main Message</h2> 1 of 3

http://nma.kcc.hawaii.edu/gargiulo/data/johndoe/spring/art128/2014/companyname1_step3/index.html 59 <p>lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi semper, nunc quis euismod porta, ligula dolor interdum dui, quis consectetur neque neque et urna.</p> 60 <a href="#">big Button</a> 61 62 </div><!-- END CONTAINER --> 63 </section> 64 65 <section id="section02"> 66 <div class="container"> 67 68 <a href="#"><img src="images/placeholder-sm.gif" alt="small Placeholder Image" class="scale-with-grid"></a> 69 70 <h3><a href="#">sub Heading</a></h3> 71 <h4>sub Sub Heading</h4> 72 <p>lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi semper, nunc quis euismod porta, ligula dolor interdum dui, quis consectetur neque neque et urna.</p> 73 <a href="#">small Button</a> 74 75 </div><!-- END CONTAINER --> 76 </section> 77 78 <footer> 79 <div class="container"> 80 <nav id="footernav"> 81 <ul> 82 <li><a href="#">products</a> 83 <ul> 84 <li><a href="#">services</a></li> 85 <li><a href="#">packages</a></li> 86 <li><a href="#">custom</a></li> 87 </ul> 88 </li> 89 <li><a href="#">news</a> 90 <ul> 91 <li><a href="#">latest News</a></li> 92 <li><a href="#">facebook</a></li> 93 <li><a href="#">twitter</a></li> 94 </ul> 95 </li> 96 <li><a href="#">about</a> 97 <ul> 98 <li><a href="#">mission Statement</a></li> 99 <li><a href="#">history</a></li> 100 </ul> 101 </li> 102 <li><a href="#">contact</a> 103 <ul> 104 <li> 105 <address> 106 John Doe<br> 107 Company Name<br> 108 999 Street Address, Town, ST 12345 109 </address> 110 </li> 111 <li>(800) 555-1212</li> 112 <li>email [at] companyname.com</li> 113 </ul> 2 of 3

http://nma.kcc.hawaii.edu/gargiulo/data/johndoe/spring/art128/2014/companyname1_step3/index.html 114 </li> 115 </ul> 116 </nav> 117 118 <p id="copyright"> Copyright 2013 Company Name</p> 119 120 </div><!-- END CONTAINER --> 121 </footer> 122 123 124 125 126 </body> 127 </html> 128 3 of 3

/* BASE (Initital Setup) ===================================== #RESET #HTML5 #BASE TYPOGRAPHY #BODY #HEADINGS #PARAGRAPHS #LINKS #LISTS #IMAGES #CLEARFIX #LAYOUT/GRID #SITE-SPECIFIC #SECTIONS #MEDIA QUERIES #@FONT-FACE ===================================== */ /* #RESET * { padding: 0; /* #HTML5 header, section, footer, aside, nav, article, figure { display: block; /* BODY */ body { font-family: Arial, Helvetica, sans-serif; font-size: 100%; /* 1em = 16px */ line-height: 1.5em; /* 16px x 1.5em = 24px */ color: #333; /* HEADINGS Based on a Traditional Typographic Scale 48, 36, 24, 21, 18, 16 */ h1, h2, h3, h4, h5, h6 { margin-bottom:.5em; h1 { font-size: 3em; /* 48px / 16px = 3em */ line-height: 1em; h2 { font-size: 2.25em; /* 36px / 16px = 2.25em */ line-height: 1.1em; 1 of 7

h3 { font-size: 1.5em; /* 24px / 16px = 1.5em */ line-height: 1.2em; h4 { font-size: 1.3125em; /* 21px / 16px = 1.3125em */ line-height: 1.3em; h5 { font-size: 1.125em; /* 18px / 16px = 1.125em */ line-height: 1.4em; h6 { font-size: 1em; /* 16px / 16px = 1em */ line-height: 1.5em; /* #Paragraphs p { margin-bottom:.5em; /* #Links a { color: #369; text-decoration: none; a:visited, a:hover, a:focus { color: #036; /* #Lists ul, ol { margin-bottom:.5em; ul li ul, ul li ol, ol li ul, ol li ol { li { margin-left: 1.875em; /* #Images img.scale-with-grid { max-width: 100%; height: auto; a img { border: none; 2 of 7

/* #CLEARFIX.group:after { content: ""; display: table; clear: both; /* LAYOUT/GRID ===================================== */.container { width: 60em; /* 960px / 16px (base) = 60em */ margin: 0 auto; /* SITE SPECIFIC CSS ===================================== */ /* #Sections (Header, Navigation, Content Sections, Footer) */ body { background: #333; h1 { font-family: 'ChunkFiveRegular', Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; font-size: 2.625em; /* 42px / 16px = 2.625em */ line-height: 1.2em; /* 50px / 42px = ~1.2em */ margin-bottom:.3em; h2 { font-size: 1.5em; /* 24px / 16px = 1.5em */ line-height: 1.25em; /* 30px / 24px = 1.25em */ font-weight: normal; h3 { font-size: 1.3125em; /* 21px / 16px = 1.3125em */ line-height: 1.143em; /* 24px / 21px = ~1.143em */ h4 { font-size:.6875em; /* 11px / 16px =.6875em */ line-height: 1.27em; /* 14px / 11px = ~1.27em */ text-transform: uppercase; color: #666;.container { width: 58.75em; /* 960px - 10px left and rigth side margins */ padding: 0.625em; /*10px side margins */ position: relative; header { 3 of 7

background: #3279a1; height: 155px; header h1, header p { padding: 0; header h1 a { position: absolute; top: 50px; left: 10px; display: block; background: url(../images/companyname-logo.png) no-repeat; width: 352px; height: 0px; padding-top: 65px; overflow: hidden; header p { text-indent: -9000px; height: 0px; header #utilitynav { position: absolute; top: 10px; right: 10px; font-size:.75em; header #utilitynav ul li { float: left; list-style: none; header #utilitynav ul li a { color: #fff; text-decoration: underline; margin-left: 1em; #mainnav { background: #333; font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif; font-weight: bold; text-transform:uppercase; letter-spacing:.05em; #mainnav ul { #mainnav ul li { list-style: none; 4 of 7

#mainnav ul li a { color: #fff; text-decoration: none; display: block; padding:.8em 1.5em; float: left; #mainnav ul li a:hover { color: #000; background: #aaa; #mainnav ul li.selected a, #mainnav ul li.selected a:hover { color: #69c; background: #333; #section01 { background: #ccc; padding: 2em 0; #section01 h2 { font-family: 'ChunkFiveRegular', Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; font-size: 2.625em; /* 42px / 16px = 2.625em */ line-height: 1.2em; /* 50px / 42px = ~1.2em */ margin-bottom:.2em; #section01 p { font-size: 1.125em; /* 18px / 16px = 1.125em */ line-height: 1.39em; /* 25px / 18px = ~1.39em */ #section02 { background: #fff; padding: 2em 0; footer { background: #333; color: #fff; padding: 2em 0; footer #footernav ul li { list-style: none; text-transform: uppercase; font-size: 1.125em; /* 18px / 16px = 1.125em */ line-height: 1.1em; /* 20px / 18px = ~1.1em */ footer #footernav ul li a { color: #fff; 5 of 7

footer #footernav ul li a:hover { text-decoration: none; footer #footernav ul li ul { border-top: 1px solid #fff; margin-top:.4em; margin-bottom: 1em; padding-top:.4em; footer #footernav ul li ul li { text-transform: none; font-size:.61em; /* 11px / 18px = ~.61em */ line-height: 1.64em; /* 18px / 11px = ~1.64em */ footer #footernav ul li ul li a:hover { text-decoration: underline; footer #footernav ul li ul li address { font-style: normal; footer #copyright { font-size:.5625em; /* 9px / 16px =.5625em */ color: #999; /* MEDIA QUERIES ===================================== */ /* Tablet (Between 768px - 992px)*/ @media all and (min-width: 48em) and (max-width: 62em) { body { font-size: 87.5%; /* 14px */.container { width: 96%; margin: 0 2%; padding: 0; /* MOBILE (Smaller than 768px)*/ @media all and (max-width: 47.9999em) { body { font-size: 75%; /* 12px */.container { width: 96%; 6 of 7

margin: 0 2%; padding: 0; header { height: auto; padding: 2em 1em; header h1 a { position: static; background-size: 211px 39px; width: 211px; padding-top: 39px; margin: 0 auto; header #utilitynav { display: none; #mainnav ul { padding: 1em 0; #mainnav ul li a { float: none; /* @FONT-FACE ===================================== */ @font-face { font-family: 'ChunkFiveRegular'; src: url('../fonts/chunkfive-webfont.eot'); src: url('../fonts/chunkfive-webfont.eot?#iefix') format('embeddedopentype'), url('../fonts/chunkfive-webfont.woff') format('woff'), url('../fonts/chunkfive-webfont.ttf') format('truetype'), url('../fonts/chunkfive-webfont.svg#chunkfiveregular') format('svg'); font-weight: normal; font-style: normal; 7 of 7