Textbook, Absolute Positioning
Textbook, Gradients (Edition 6)
Textbook, Gradients (Edition 7)
Textbook, Tutorial 2 Directions
Textbook, Tutorial 3 Directions
Tutorial 1
Tutorial sample file containing several examples of CSS selectors for IDs, Classes, linking to web pages with IDs, and images with relative and absolute path names
Sample with selectors, images, and anchors
- Right Click, Save As
- Right Click, View Source
- From CSS "link" Right Click, view in new tab
Tutorial 2
Example of hot spot
Textbook, Tutorial 2, Nav Link Documentation
Textbook, Tutorial 2, Hot Spot Documentation
Textbook, Tutorial 2, Image Map Documentation
-
From home.htm:
- To review the book's coverage of nav layout, see Textbook, Tutorial 2, Nav Link Documentation
- Select "aperture" on lower Right Hand corner; see that it brings up the aperture definition in glossary by linking to a id within a page
- From glossary.htm, view source to see the ID defined for aperture definition
- To see the combined results ot "Hot Spot" and "Image Map", see either home.htm, tips.htm, glossary.htm
- In the header (above the navigation), is an image with three different sections: Home, Tips, and Glossary
- Hover over any of those three, you'll in the bottom left hand corner, the name of "href" value
- The img links the usemap to the map itself
Example of anchor cursor property and values
Example of two divs floated side by side, html5 color picker
HTML5 Colorpicker FireFox
HTML5 Colorpicker Chrome
HTML5 Colorpicker Edge
Tutorial 3
Key typography terms
- kerning: space between letters; line-spacing
- leading: height of the line; line-height
- tracking: space between words
- font-family: typeface of the font
- font-size: size of the font
- serif: typeface with small ornamentation at the tail end of each character
- sans-serif: non-serif font without any ornamation
- glyph: unique marks that aid in the spelling of a word
- monospace: each character has the same width
font size
- Absolute units: fixed in size, independent of the device; mm, cm, in, pt, pc
- relative units: em, %, px
- pixel: single dot on a device; not scalable
- resolution: expressed in pixels
- pixel: rendered size depends on the density of the output device
All CSS properties and values must not have spaces in them; for example, invalid is font-family: arial black
valid is font-family: "arial black"
Invalid is font family: "arial black"
Examples of vertial-align values
Example of "short cut" formatting for fontfont: font-style font-variant font-weight font-size/line-height font-family
Pseudo-class: classification based on current status, position, or use in the document. Dynamic and structual.
Dynamic pseudo-classes change with a user's actionsa:visited {color:red;}
Structural pseudo-classes clasify based on locations within the hierarchy of the page elements. body:first-child {background-color: yellow;}
selector:pseudo-class {styles;}
Example of pseudo classes
Structural pseudo-classes
- root
- empty
- only-child
- first-child
- last-child
- first-of-type
- last-of-type
- nth-of-type
- nth-last-of-type
- only-of-type
- lang
- not
Tutorial 4
Textbook, Tutorial 4, case 1 instructions
Tutorial 6
Textbook, Tutorial 6, review instructions
Tutorial 7
Tutorial 8
See the gradient.pdf file on either Canvas or the private ubuntu server.
Also, see the AdvancedCSS.pdf file on either Canvas or the ubuntu server as well.
Textbook, Tutorial 8, Text Size Documentation
Tutorial8 Tutorial Zip archive