├── Backgrounds ├── deadwood.css ├── images │ ├── bg_checkered.gif │ ├── bg_checkered_dark.gif │ ├── bg_gradient.gif │ ├── bg_gradient.png │ ├── d.gif │ ├── logo.gif │ ├── portfolio1.jpg │ ├── portfolio2.jpg │ ├── portfolio3.jpg │ ├── portfolio4.jpg │ ├── portfolio5.jpg │ ├── portfolio6.jpg │ └── tree.gif └── index.html ├── Forms ├── element-subgroups-ie.css ├── element-subgroups.css ├── element-subgroups.html ├── error-fields1-ie.css ├── error-fields1.css ├── error-fields1.html ├── error-fields2-ie.css ├── error-fields2.css ├── error-fields2.html ├── error-fields3-ie.css ├── error-fields3.css ├── error-fields3.html ├── fieldset-alternating-ie.css ├── fieldset-alternating.css ├── fieldset-alternating.html ├── fieldset-background-color-ie.css ├── fieldset-background-color.css ├── fieldset-background-color.html ├── fieldset-background-image-ie.css ├── fieldset-background-image.css ├── fieldset-background-image.html ├── images │ ├── bg.gif │ ├── error_cross.gif │ ├── fieldset_gradient.jpg │ ├── header1.jpg │ ├── icon_cross.gif │ ├── icon_tick.gif │ ├── logo.gif │ ├── page.gif │ ├── required_star.gif │ ├── submit_button_gradient.gif │ └── text_field_shadow.gif ├── left-aligned-labels.css ├── left-aligned-labels.html ├── main.css ├── required-fields-ie.css ├── required-fields-star1-ie.css ├── required-fields-star1.css ├── required-fields-star1.html ├── required-fields-star2-ie.css ├── required-fields-star2.css ├── required-fields-star2.html ├── required-fields.css ├── required-fields.html ├── right-aligned-labels.css ├── right-aligned-labels.html ├── slightly-messy.css ├── slightly-messy.html ├── top-positioned-labels.css └── top-positioned-labels.html ├── Headings ├── .#flash-replacement.css.1.1 ├── .#flash-replacement.htm.1.1 ├── .#sIFR-screen.css.1.1 ├── additional-markup.css ├── additional-markup.htm ├── flash-replacement.css ├── flash-replacement.htm ├── flash │ └── cooper_black.swf ├── images │ ├── body_bg.jpg │ └── title_snow.gif ├── sIFR-screen.css ├── scripts │ └── sifr.js ├── text-indent.css └── text-indent.htm ├── Images ├── albums.html ├── captions-1a.css ├── captions-1a.html ├── captions-1b.css ├── captions-1b.html ├── captions-2a.css ├── captions-2a.html ├── captions-2b.css ├── captions-2b.html ├── captions-3.css ├── captions-3.html ├── gallery.css ├── images │ ├── bg.gif │ ├── caption-black.png │ ├── caption-white.png │ ├── captions-1.jpg │ ├── captions-2.jpg │ ├── captions-3.jpg │ ├── intro-photo.jpg │ ├── photo.jpg │ ├── photo_v.jpg │ ├── thumb1.jpg │ ├── thumb10.jpg │ ├── thumb11.jpg │ ├── thumb12.jpg │ ├── thumb13.jpg │ ├── thumb14.jpg │ ├── thumb15.jpg │ ├── thumb16.jpg │ ├── thumb17.jpg │ ├── thumb18.jpg │ ├── thumb19.jpg │ ├── thumb2.jpg │ ├── thumb20.jpg │ ├── thumb21.jpg │ ├── thumb22.jpg │ ├── thumb23.jpg │ ├── thumb24.jpg │ ├── thumb25.jpg │ ├── thumb26.jpg │ ├── thumb27.jpg │ ├── thumb3.jpg │ ├── thumb4.jpg │ ├── thumb5.jpg │ ├── thumb6.jpg │ ├── thumb7.jpg │ ├── thumb8.jpg │ └── thumb9.jpg ├── intro-image.css ├── intro-image.html ├── photo.html └── thumbnails.html ├── Navigation ├── advanced-tabs.css ├── advanced-tabs.html ├── fixed-tabs.css ├── fixed-tabs.html ├── horizontal.css ├── horizontal.html ├── images │ ├── menu.jpg │ ├── tab.gif │ ├── tab_left.gif │ ├── tab_left_active.gif │ ├── tab_right.gif │ └── tab_right_active.gif ├── variable-tabs.css ├── variable-tabs.html ├── vertical.css └── vertical.html ├── Rounded Corners ├── decorative-border.html ├── fixed-width-layout.html ├── flexible-roundabout-feature.html ├── flexible-sushi-feature.html ├── flexible-width-layout.html ├── images │ ├── body-bg.gif │ ├── border-bottom.jpg │ ├── border-repeat.jpg │ ├── border-top.jpg │ ├── bottom.gif │ ├── bottom_left.gif │ ├── bottom_right.gif │ ├── footer.gif │ ├── footer_left.gif │ ├── footer_right.gif │ ├── header.gif │ ├── header_right.gif │ ├── logo.gif │ ├── logo.png │ ├── logo2.gif │ ├── top.gif │ ├── top_left.gif │ └── top_right.gif ├── roundabout-feature.html └── sushi-feature.html └── Tables ├── background-position.html ├── calendar.html ├── colspan-rowspan.html ├── growth-chart.html ├── highlighting.html ├── images ├── albert.jpg ├── table_bg.png ├── td_bg_left.png ├── td_bg_right.png ├── tfoot_bg.png ├── th_article.png ├── th_date.png └── tr_bg.png ├── scripts └── highlight.js ├── striped-png-background.html ├── striped-png-css3.html ├── striped-png.html ├── striped.html ├── table-example-basic.html └── table-example.html /Backgrounds/deadwood.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #A4A4A4 url(images/bg_gradient.gif) repeat-x; 3 | } 4 | 5 | #tree { 6 | position: absolute; 7 | bottom: 0; 8 | right: 40px; 9 | background: url(images/tree.gif) no-repeat; 10 | width: 331px; 11 | height: 400px; 12 | } 13 | 14 | #logo { 15 | position: absolute; 16 | top: 15%; 17 | right: 40px; 18 | width: 334px; 19 | height: 36px; 20 | background: url(images/logo.gif) no-repeat; 21 | text-indent: -9999em; 22 | margin: 0; 23 | z-index: 3; 24 | } 25 | 26 | #intro { 27 | position: absolute; 28 | top: 15%; 29 | left: 40px; 30 | background: url(images/d.gif) no-repeat; 31 | padding: 5px 0 0 61px; 32 | width: 250px; 33 | color: #fff; 34 | font-family: Georgia, serif; 35 | font-size: 0.8em; 36 | } 37 | 38 | #intro span { 39 | position: absolute; 40 | top: -1000px; 41 | } 42 | 43 | #intro p { 44 | margin: 0 0 12px 0; 45 | } 46 | 47 | #portfolio { 48 | position: absolute; 49 | top: 35%; 50 | left: 0; 51 | width: 100%; 52 | height: 294px; 53 | background: url(images/bg_checkered.gif); 54 | } 55 | 56 | ul { 57 | position: absolute; 58 | top: 35%; 59 | left: 40px; 60 | padding:0; 61 | z-index: 4; 62 | list-style: none inside; 63 | width: 482px; 64 | height: 294px; 65 | margin: 0; 66 | } 67 | 68 | ul li { 69 | width: 138px; 70 | height: 138px; 71 | float: left; 72 | margin: 0 18px 18px 0; 73 | background: url(images/bg_checkered_dark.gif); 74 | } 75 | 76 | ul li a { 77 | float: left; 78 | width: 102px; 79 | height: 102px; 80 | margin: 18px 0 0 18px; 81 | } 82 | 83 | ul li a img { 84 | border: 0; 85 | } 86 | -------------------------------------------------------------------------------- /Backgrounds/images/bg_checkered.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Backgrounds/images/bg_checkered.gif -------------------------------------------------------------------------------- /Backgrounds/images/bg_checkered_dark.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Backgrounds/images/bg_checkered_dark.gif -------------------------------------------------------------------------------- /Backgrounds/images/bg_gradient.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Backgrounds/images/bg_gradient.gif -------------------------------------------------------------------------------- /Backgrounds/images/bg_gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Backgrounds/images/bg_gradient.png -------------------------------------------------------------------------------- /Backgrounds/images/d.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Backgrounds/images/d.gif -------------------------------------------------------------------------------- /Backgrounds/images/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Backgrounds/images/logo.gif -------------------------------------------------------------------------------- /Backgrounds/images/portfolio1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Backgrounds/images/portfolio1.jpg -------------------------------------------------------------------------------- /Backgrounds/images/portfolio2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Backgrounds/images/portfolio2.jpg -------------------------------------------------------------------------------- /Backgrounds/images/portfolio3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Backgrounds/images/portfolio3.jpg -------------------------------------------------------------------------------- /Backgrounds/images/portfolio4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Backgrounds/images/portfolio4.jpg -------------------------------------------------------------------------------- /Backgrounds/images/portfolio5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Backgrounds/images/portfolio5.jpg -------------------------------------------------------------------------------- /Backgrounds/images/portfolio6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Backgrounds/images/portfolio6.jpg -------------------------------------------------------------------------------- /Backgrounds/images/tree.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Backgrounds/images/tree.gif -------------------------------------------------------------------------------- /Backgrounds/index.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Deadwood Design 6 | 7 | 8 | 9 | 10 | 11 |

Deadwood Design

12 | 13 |
14 |

Deadwood design is Australia's 47th best 15 | web design and development agency.

16 |

We specialise in awesomeness.

17 |
18 | 26 |
27 |
28 | 29 | -------------------------------------------------------------------------------- /Forms/element-subgroups-ie.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | position: relative; 4 | } 5 | 6 | legend 7 | { 8 | position: relative; 9 | left: -7px; 10 | top: -0.75em; 11 | } 12 | 13 | fieldset fieldset legend 14 | { 15 | top: 0; 16 | } 17 | 18 | fieldset ol 19 | { 20 | padding-top: 0.25em; 21 | } -------------------------------------------------------------------------------- /Forms/element-subgroups.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | float: left; 4 | clear: left; 5 | width: 100%; 6 | margin: 0 0 1.5em 0; 7 | padding: 0; 8 | border: 1px solid #BFBAB0; 9 | background-color: #F2EFE9; 10 | background-image: url(images/fieldset_gradient.jpg); 11 | background-repeat: repeat-x; 12 | } 13 | 14 | legend 15 | { 16 | margin-left: 1em; 17 | padding: 0; 18 | color: #000000; 19 | font-weight: bold; 20 | } 21 | 22 | fieldset ol 23 | { 24 | padding: 1em 1em 0 1em; 25 | list-style: none; 26 | zoom: 1; 27 | } 28 | 29 | fieldset li 30 | { 31 | float: left; 32 | clear: left; 33 | width: 100%; 34 | padding-bottom: 1em; 35 | } 36 | 37 | label 38 | { 39 | float: left; 40 | width: 10em; 41 | margin-right: 1em; 42 | } 43 | 44 | fieldset fieldset 45 | { 46 | margin-bottom: -2.5em; 47 | border-style: none; 48 | background-color: transparent; 49 | background-image: none; 50 | } 51 | 52 | fieldset fieldset legend 53 | { 54 | margin-left: 0; 55 | font-weight: normal; 56 | } 57 | 58 | fieldset fieldset ol 59 | { 60 | position: relative; 61 | top: -1.5em; 62 | margin: 0 0 0 11em; 63 | padding: 0; 64 | } 65 | 66 | fieldset fieldset label 67 | { 68 | float: none; 69 | width: auto; 70 | margin-right: auto; 71 | } 72 | 73 | fieldset.submit 74 | { 75 | float: none; 76 | width: auto; 77 | border-style: none; 78 | padding-left: 12em; 79 | background-color: transparent; 80 | background-image: none; 81 | } -------------------------------------------------------------------------------- /Forms/element-subgroups.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Element Subgroups 6 | 7 | 11 | 16 | 17 | 18 |
19 | 24 |
25 |

26 | Fill in your details below. We promise that we won't use them to spam you with advertisements ... much. 27 |

28 |
29 |
30 | 31 | Contact Details 32 | 33 |
    34 |
  1. 35 | 38 | 39 |
  2. 40 |
  3. 41 |
    42 | 43 | Occupation: 44 | 45 |
      46 |
    1. 47 | 48 | 51 |
    2. 52 |
    3. 53 | 54 | 57 |
    4. 58 |
    5. 59 | 60 | 63 |
    6. 64 |
    7. 65 | 66 | 69 |
    8. 70 |
    71 |
    72 |
  4. 73 |
  5. 74 | 77 | 78 |
  6. 79 |
80 |
81 |
82 | 83 | Delivery Address 84 | 85 |
    86 |
  1. 87 | 90 | 91 |
  2. 92 |
  3. 93 |
    94 | 95 | Country: 96 | 97 |
      98 |
    1. 99 | 100 | 103 |
    2. 104 |
    3. 105 | 106 | 109 |
    4. 110 |
    5. 111 | 112 | 115 |
    6. 116 |
    7. 117 | 118 | 121 |
    8. 122 |
    123 |
    124 |
  4. 125 |
126 |
127 |
128 | 129 |
130 |
131 |
132 |
133 | 134 | 135 | 136 | 137 | 138 | 139 | -------------------------------------------------------------------------------- /Forms/error-fields1-ie.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | position: relative; 4 | } 5 | 6 | legend 7 | { 8 | position: relative; 9 | left: -7px; 10 | top: -0.75em; 11 | } 12 | 13 | fieldset ol 14 | { 15 | padding-top: 0.25em; 16 | } -------------------------------------------------------------------------------- /Forms/error-fields1.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | float: left; 4 | clear: left; 5 | width: 100%; 6 | margin: 0 0 1.5em 0; 7 | padding: 0; 8 | border: 1px solid #BFBAB0; 9 | background-color: #F2EFE9; 10 | background-image: url(images/fieldset_gradient.jpg); 11 | background-repeat: repeat-x; 12 | } 13 | 14 | legend 15 | { 16 | margin-left: 1em; 17 | padding: 0; 18 | color: #000000; 19 | font-weight: bold; 20 | } 21 | 22 | fieldset ol 23 | { 24 | padding: 1em 1em 0 1em; 25 | list-style: none; 26 | zoom: 1; 27 | } 28 | 29 | fieldset li 30 | { 31 | float: left; 32 | clear: left; 33 | width: 100%; 34 | padding-bottom: 1em; 35 | } 36 | 37 | label 38 | { 39 | float: left; 40 | width: 10em; 41 | margin-right: 1em; 42 | } 43 | 44 | label strong 45 | { 46 | display: block; 47 | color: #CC0000; 48 | font-size: 85%; 49 | font-weight: normal; 50 | text-transform: uppercase; 51 | } 52 | 53 | fieldset.submit 54 | { 55 | float: none; 56 | width: auto; 57 | border-style: none; 58 | padding-left: 12em; 59 | background-color: transparent; 60 | background-image: none; 61 | } -------------------------------------------------------------------------------- /Forms/error-fields1.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Error Fields 6 | 7 | 11 | 16 | 17 | 18 |
19 | 24 |
25 |

26 | Fill in your details below. We promise that we won't use them to spam you with advertisements ... much. 27 |

28 |
29 |
30 | 31 | Contact Details 32 | 33 |
    34 |
  1. 35 | 38 | 39 |
  2. 40 |
  3. 41 | 44 | 45 |
  4. 46 |
  5. 47 | 50 | 51 |
  6. 52 |
53 |
54 |
55 | 56 | Delivery Address 57 | 58 |
    59 |
  1. 60 | 63 | 64 |
  2. 65 |
  3. 66 | 69 | 70 |
  4. 71 |
  5. 72 | 75 | 76 |
  6. 77 |
  7. 78 | 81 | 82 |
  8. 83 |
  9. 84 | 87 | 88 |
  10. 89 |
90 |
91 |
92 | 93 |
94 |
95 |
96 |
97 | 98 | 99 | 100 | 101 | 102 | 103 | -------------------------------------------------------------------------------- /Forms/error-fields2-ie.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | position: relative; 4 | } 5 | 6 | legend 7 | { 8 | position: relative; 9 | left: -7px; 10 | top: -0.75em; 11 | } 12 | 13 | fieldset ol 14 | { 15 | padding-top: 0.25em; 16 | } -------------------------------------------------------------------------------- /Forms/error-fields2.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | float: left; 4 | clear: left; 5 | width: 100%; 6 | margin: 0 0 1.5em 0; 7 | padding: 0; 8 | border: 1px solid #BFBAB0; 9 | background-color: #F2EFE9; 10 | background-image: url(images/fieldset_gradient.jpg); 11 | background-repeat: repeat-x; 12 | } 13 | 14 | legend 15 | { 16 | margin-left: 1em; 17 | padding: 0; 18 | color: #000000; 19 | font-weight: bold; 20 | } 21 | 22 | fieldset ol 23 | { 24 | padding: 1em 1em 0 1em; 25 | list-style: none; 26 | zoom: 1; 27 | } 28 | 29 | fieldset li 30 | { 31 | float: left; 32 | clear: left; 33 | width: 100%; 34 | padding-bottom: 1em; 35 | } 36 | 37 | label 38 | { 39 | position: relative; 40 | float: left; 41 | width: 10em; 42 | margin-right: 1em; 43 | } 44 | 45 | label strong 46 | { 47 | position: absolute; 48 | left: 27em; 49 | top: 0.2em; 50 | width: 19em; 51 | color: #CC0000; 52 | font-size: 85%; 53 | font-weight: normal; 54 | text-transform: uppercase; 55 | } 56 | 57 | fieldset.submit 58 | { 59 | float: none; 60 | width: auto; 61 | border-style: none; 62 | padding-left: 12em; 63 | background-color: transparent; 64 | background-image: none; 65 | } -------------------------------------------------------------------------------- /Forms/error-fields2.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Error Fields 6 | 7 | 11 | 16 | 17 | 18 |
19 | 24 |
25 |

26 | Fill in your details below. We promise that we won't use them to spam you with advertisements ... much. 27 |

28 |
29 |
30 | 31 | Contact Details 32 | 33 |
    34 |
  1. 35 | 38 | 39 |
  2. 40 |
  3. 41 | 44 | 45 |
  4. 46 |
  5. 47 | 50 | 51 |
  6. 52 |
53 |
54 |
55 | 56 | Delivery Address 57 | 58 |
    59 |
  1. 60 | 63 | 64 |
  2. 65 |
  3. 66 | 69 | 70 |
  4. 71 |
  5. 72 | 75 | 76 |
  6. 77 |
  7. 78 | 81 | 82 |
  8. 83 |
  9. 84 | 87 | 88 |
  10. 89 |
90 |
91 |
92 | 93 |
94 |
95 |
96 |
97 | 98 | 99 | 100 | 101 | 102 | 103 | -------------------------------------------------------------------------------- /Forms/error-fields3-ie.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | position: relative; 4 | } 5 | 6 | legend 7 | { 8 | position: relative; 9 | left: -7px; 10 | top: -0.75em; 11 | } 12 | 13 | fieldset ol 14 | { 15 | padding-top: 0.25em; 16 | } -------------------------------------------------------------------------------- /Forms/error-fields3.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | float: left; 4 | clear: left; 5 | width: 100%; 6 | margin: 0 0 1.5em 0; 7 | padding: 0; 8 | border: 1px solid #BFBAB0; 9 | background-color: #F2EFE9; 10 | background-image: url(images/fieldset_gradient.jpg); 11 | background-repeat: repeat-x; 12 | } 13 | 14 | legend 15 | { 16 | margin-left: 1em; 17 | padding: 0; 18 | color: #000000; 19 | font-weight: bold; 20 | } 21 | 22 | fieldset ol 23 | { 24 | padding: 1em 1em 0 1em; 25 | list-style: none; 26 | zoom: 1; 27 | } 28 | 29 | fieldset li 30 | { 31 | float: left; 32 | clear: left; 33 | width: 100%; 34 | padding-bottom: 1em; 35 | } 36 | 37 | label 38 | { 39 | position: relative; 40 | float: left; 41 | width: 10em; 42 | margin-right: 1em; 43 | } 44 | 45 | label strong 46 | { 47 | position: absolute; 48 | left: 27em; 49 | top: 0.2em; 50 | width: 19em; 51 | color: #CC0000; 52 | font-size: 85%; 53 | font-weight: normal; 54 | text-transform: uppercase; 55 | } 56 | 57 | label strong img 58 | { 59 | position: absolute; 60 | left: -16em; 61 | } 62 | 63 | fieldset.submit 64 | { 65 | float: none; 66 | width: auto; 67 | border-style: none; 68 | padding-left: 12em; 69 | background-color: transparent; 70 | background-image: none; 71 | } -------------------------------------------------------------------------------- /Forms/error-fields3.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Error Fields 6 | 7 | 11 | 16 | 17 | 18 |
19 | 24 |
25 |

26 | Fill in your details below. We promise that we won't use them to spam you with advertisements ... much. 27 |

28 |
29 |
30 | 31 | Contact Details 32 | 33 |
    34 |
  1. 35 | 38 | 39 |
  2. 40 |
  3. 41 | 44 | 45 |
  4. 46 |
  5. 47 | 50 | 51 |
  6. 52 |
53 |
54 |
55 | 56 | Delivery Address 57 | 58 |
    59 |
  1. 60 | 63 | 64 |
  2. 65 |
  3. 66 | 69 | 70 |
  4. 71 |
  5. 72 | 75 | 76 |
  6. 77 |
  7. 78 | 81 | 82 |
  8. 83 |
  9. 84 | 87 | 88 |
  10. 89 |
90 |
91 |
92 | 93 |
94 |
95 |
96 |
97 | 98 | 99 | 100 | 101 | 102 | 103 | -------------------------------------------------------------------------------- /Forms/fieldset-alternating-ie.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | position: relative; 4 | } 5 | 6 | legend 7 | { 8 | position: relative; 9 | left: -7px; 10 | top: -0.75em; 11 | } 12 | 13 | legend span 14 | { 15 | margin-top: 1.25em; 16 | } 17 | 18 | fieldset ol 19 | { 20 | padding-top: 3.25em; 21 | } -------------------------------------------------------------------------------- /Forms/fieldset-alternating.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | position: relative; 4 | float: left; 5 | clear: left; 6 | width: 100%; 7 | margin: 0 0 -1em 0; 8 | padding: 0 0 1em 0; 9 | border-style: none; 10 | border-top: 1px solid #BFBAB0; 11 | background-color: #F2EFE9; 12 | } 13 | 14 | fieldset.alt 15 | { 16 | background-color: #E6E3DD; 17 | } 18 | 19 | legend 20 | { 21 | padding: 0; 22 | color: #545351; 23 | font-weight: bold; 24 | } 25 | 26 | legend span 27 | { 28 | position: absolute; 29 | left: 0.74em; 30 | top: 0; 31 | margin-top: 0.5em; 32 | font-size: 135%; 33 | } 34 | 35 | fieldset ol 36 | { 37 | padding: 3.5em 1em 0 1em; 38 | list-style: none; 39 | zoom: 1; 40 | } 41 | 42 | fieldset li 43 | { 44 | float: left; 45 | clear: left; 46 | width: 100%; 47 | padding-bottom: 1em; 48 | } 49 | 50 | label 51 | { 52 | float: left; 53 | width: 10em; 54 | margin-right: 1em; 55 | } 56 | 57 | fieldset.submit 58 | { 59 | float: none; 60 | width: auto; 61 | padding-top: 1.5em; 62 | padding-left: 12em; 63 | background-color: #FFFFFF; 64 | } -------------------------------------------------------------------------------- /Forms/fieldset-alternating.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Fieldset Alternating 6 | 7 | 11 | 16 | 17 | 18 |
19 | 24 |
25 |

26 | Fill in your details below. We promise that we won't use them to spam you with advertisements ... much. 27 |

28 |
29 |
30 | 31 | Contact Details 32 | 33 |
    34 |
  1. 35 | 38 | 39 |
  2. 40 |
  3. 41 | 44 | 45 |
  4. 46 |
  5. 47 | 50 | 51 |
  6. 52 |
53 |
54 |
55 | 56 | Login Details 57 | 58 |
    59 |
  1. 60 | 63 | 64 |
  2. 65 |
  3. 66 | 69 | 70 |
  4. 71 |
72 |
73 |
74 | 75 | Delivery Address 76 | 77 |
    78 |
  1. 79 | 82 | 83 |
  2. 84 |
  3. 85 | 88 | 89 |
  4. 90 |
  5. 91 | 94 | 95 |
  6. 96 |
  7. 97 | 100 | 101 |
  8. 102 |
  9. 103 | 106 | 107 |
  10. 108 |
109 |
110 |
111 | 112 | Payment Details 113 | 114 |
    115 |
  1. 116 | 119 | 120 |
  2. 121 |
  3. 122 | 125 | 126 |
  4. 127 |
128 |
129 |
130 | 131 |
132 |
133 |
134 |
135 | 136 | 137 | 138 | 139 | 140 | 141 | -------------------------------------------------------------------------------- /Forms/fieldset-background-color-ie.css: -------------------------------------------------------------------------------- 1 | legend 2 | { 3 | position: relative; 4 | left: -7px; 5 | top: -0.75em; 6 | } 7 | 8 | fieldset ol 9 | { 10 | padding-top: 0.25em; 11 | } -------------------------------------------------------------------------------- /Forms/fieldset-background-color.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | float: left; 4 | clear: left; 5 | width: 100%; 6 | margin: 0 0 1.5em 0; 7 | padding: 0; 8 | border: 1px solid #BFBAB0; 9 | background-color: #F2EFE9; 10 | } 11 | 12 | legend 13 | { 14 | margin-left: 1em; 15 | padding: 0; 16 | color: #000000; 17 | font-weight: bold; 18 | } 19 | 20 | fieldset ol 21 | { 22 | padding: 1em 1em 0 1em; 23 | list-style: none; 24 | zoom: 1; 25 | } 26 | 27 | fieldset li 28 | { 29 | float: left; 30 | clear: left; 31 | width: 100%; 32 | padding-bottom: 1em; 33 | } 34 | 35 | label 36 | { 37 | float: left; 38 | width: 10em; 39 | margin-right: 1em; 40 | } 41 | 42 | fieldset.submit 43 | { 44 | float: none; 45 | width: auto; 46 | border-style: none; 47 | padding-left: 12em; 48 | background-color: transparent; 49 | } -------------------------------------------------------------------------------- /Forms/fieldset-background-color.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Fieldset Background Color 6 | 7 | 11 | 18 | 19 | 20 |
21 | 26 |
27 |

28 | Fill in your details below. We promise that we won't use them to spam you with advertisements ... much. 29 |

30 |
31 |
32 | 33 | Contact Details 34 | 35 |
    36 |
  1. 37 | 40 | 41 |
  2. 42 |
  3. 43 | 46 | 47 |
  4. 48 |
  5. 49 | 52 | 53 |
  6. 54 |
55 |
56 |
57 | 58 | Delivery Address 59 | 60 |
    61 |
  1. 62 | 65 | 66 |
  2. 67 |
  3. 68 | 71 | 72 |
  4. 73 |
  5. 74 | 77 | 78 |
  6. 79 |
  7. 80 | 83 | 84 |
  8. 85 |
  9. 86 | 89 | 90 |
  10. 91 |
92 |
93 |
94 | 95 |
96 |
97 |
98 |
99 | 100 | 101 | 102 | 103 | 104 | 105 | -------------------------------------------------------------------------------- /Forms/fieldset-background-image-ie.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | position: relative; 4 | } 5 | 6 | legend 7 | { 8 | position: relative; 9 | left: -7px; 10 | top: -0.75em; 11 | } 12 | 13 | fieldset ol 14 | { 15 | padding-top: 0.25em; 16 | } -------------------------------------------------------------------------------- /Forms/fieldset-background-image.css: -------------------------------------------------------------------------------- 1 | 2 | fieldset 3 | { 4 | float: left; 5 | clear: left; 6 | width: 100%; 7 | margin: 0 0 1.5em 0; 8 | padding: 0; 9 | border: 1px solid #BFBAB0; 10 | background-color: #F2EFE9; 11 | background-image: url(images/fieldset_gradient.jpg); 12 | background-repeat: repeat-x; 13 | } 14 | 15 | legend 16 | { 17 | margin-left: 1em; 18 | padding: 0; 19 | color: #000000; 20 | font-weight: bold; 21 | } 22 | 23 | fieldset ol 24 | { 25 | padding: 1em 1em 0 1em; 26 | list-style: none; 27 | zoom: 1; 28 | } 29 | 30 | fieldset li 31 | { 32 | float: left; 33 | clear: left; 34 | width: 100%; 35 | padding-bottom: 1em; 36 | } 37 | 38 | label 39 | { 40 | float: left; 41 | width: 10em; 42 | margin-right: 1em; 43 | } 44 | 45 | fieldset.submit 46 | { 47 | float: none; 48 | width: auto; 49 | border-style: none; 50 | padding-left: 12em; 51 | background-color: transparent; 52 | background-image: none; 53 | } -------------------------------------------------------------------------------- /Forms/fieldset-background-image.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Fieldset Background Image 6 | 7 | 11 | 18 | 19 | 20 |
21 | 26 |
27 |

28 | Fill in your details below. We promise that we won't use them to spam you with advertisements ... much. 29 |

30 |
31 |
32 | 33 | Contact Details 34 | 35 |
    36 |
  1. 37 | 40 | 41 |
  2. 42 |
  3. 43 | 46 | 47 |
  4. 48 |
  5. 49 | 52 | 53 |
  6. 54 |
55 |
56 |
57 | 58 | Delivery Address 59 | 60 |
    61 |
  1. 62 | 65 | 66 |
  2. 67 |
  3. 68 | 71 | 72 |
  4. 73 |
  5. 74 | 77 | 78 |
  6. 79 |
  7. 80 | 83 | 84 |
  8. 85 |
  9. 86 | 89 | 90 |
  10. 91 |
92 |
93 |
94 | 95 |
96 |
97 |
98 |
99 | 100 | 101 | -------------------------------------------------------------------------------- /Forms/images/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Forms/images/bg.gif -------------------------------------------------------------------------------- /Forms/images/error_cross.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Forms/images/error_cross.gif -------------------------------------------------------------------------------- /Forms/images/fieldset_gradient.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Forms/images/fieldset_gradient.jpg -------------------------------------------------------------------------------- /Forms/images/header1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Forms/images/header1.jpg -------------------------------------------------------------------------------- /Forms/images/icon_cross.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Forms/images/icon_cross.gif -------------------------------------------------------------------------------- /Forms/images/icon_tick.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Forms/images/icon_tick.gif -------------------------------------------------------------------------------- /Forms/images/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Forms/images/logo.gif -------------------------------------------------------------------------------- /Forms/images/page.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Forms/images/page.gif -------------------------------------------------------------------------------- /Forms/images/required_star.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Forms/images/required_star.gif -------------------------------------------------------------------------------- /Forms/images/submit_button_gradient.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Forms/images/submit_button_gradient.gif -------------------------------------------------------------------------------- /Forms/images/text_field_shadow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Forms/images/text_field_shadow.gif -------------------------------------------------------------------------------- /Forms/left-aligned-labels.css: -------------------------------------------------------------------------------- 1 | 2 | /******************************************************************************* 3 | ******************************************************************************** 4 | ** 5 | * - CONTENT 6 | ** 7 | ******************************************************************************** 8 | ******************************************************************************/ 9 | 10 | 11 | 12 | 13 | /* CONTENT ------------------------------------------------------------------ */ 14 | 15 | fieldset 16 | { 17 | float: left; 18 | clear: left; 19 | width: 100%; 20 | margin: 0 0 1.5em 0; 21 | padding: 0; 22 | } 23 | 24 | legend 25 | { 26 | margin-left: 1em; 27 | color: #000000; 28 | font-weight: bold; 29 | } 30 | 31 | fieldset ol 32 | { 33 | padding: 1em 1em 0 1em; 34 | list-style: none; 35 | zoom: 1; 36 | } 37 | 38 | fieldset li 39 | { 40 | float: left; 41 | clear: left; 42 | width: 100%; 43 | padding-bottom: 1em; 44 | } 45 | 46 | label 47 | { 48 | float: left; 49 | width: 10em; 50 | margin-right: 1em; 51 | } 52 | 53 | fieldset.submit 54 | { 55 | float: none; 56 | width: auto; 57 | border: 0 none #FFFFFF; 58 | padding-left: 12em; 59 | } -------------------------------------------------------------------------------- /Forms/left-aligned-labels.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Left-aligned Text Labels 6 | 7 | 11 | 12 | 13 |
14 | 19 |
20 |

21 | Fill in your details below. We promise that we won't use them to spam you with advertisements ... much. 22 |

23 |
24 |
25 | 26 | Contact Details 27 | 28 |
    29 |
  1. 30 | 33 | 34 |
  2. 35 |
  3. 36 | 39 | 40 |
  4. 41 |
  5. 42 | 45 | 46 |
  6. 47 |
48 |
49 |
50 | 51 | Delivery Address 52 | 53 |
    54 |
  1. 55 | 58 | 59 |
  2. 60 |
  3. 61 | 64 | 65 |
  4. 66 |
  5. 67 | 70 | 71 |
  6. 72 |
  7. 73 | 76 | 77 |
  8. 78 |
  9. 79 | 82 | 83 |
  10. 84 |
85 |
86 |
87 | 88 |
89 |
90 |
91 |
92 | 93 | 94 | -------------------------------------------------------------------------------- /Forms/main.css: -------------------------------------------------------------------------------- 1 | 2 | /******************************************************************************* 3 | ******************************************************************************** 4 | ** 5 | * - GENERAL 6 | * 7 | * - PAGE CONTAINERS 8 | * 9 | * - HEADER 10 | * 11 | * - CONTENT 12 | ** 13 | ******************************************************************************** 14 | ******************************************************************************/ 15 | 16 | 17 | 18 | 19 | /* GENERAL ------------------------------------------------------------------ */ 20 | 21 | html 22 | { 23 | height: 100%; 24 | } 25 | 26 | /* Zero default margin & padding around common elements */ 27 | body, dd, dl, dt, form, h1, h2, h3, h4, h5, h6, li, ol, p, ul 28 | { 29 | margin: 0; 30 | border: 0 none transparent; 31 | padding: 0; 32 | } 33 | 34 | body 35 | { 36 | height: 100%; 37 | background-color: #333333; 38 | background-image: url(images/bg.gif); 39 | background-position: 50% 0; 40 | color: #000000; 41 | line-height: 1.5; 42 | font-family: Arial, Helvetica, sans-serif; 43 | font-size: 80%; 44 | text-align: center; 45 | } 46 | 47 | a:link 48 | { 49 | color: #003399; 50 | } 51 | 52 | a:visited 53 | { 54 | color: #B266B2; 55 | } 56 | 57 | a:hover 58 | { 59 | text-decoration: none; 60 | } 61 | 62 | 63 | 64 | 65 | /* PAGE CONTAINERS ---------------------------------------------------------- */ 66 | 67 | #page 68 | { 69 | width: 636px; 70 | w\idth: 600px; 71 | min-height: 100%; 72 | margin: 0 auto; 73 | padding: 0 18px 0 18px; 74 | background-image: url(images/page.gif); 75 | background-repeat: repeat-y; 76 | text-align: left; 77 | } 78 | 79 | * html #page 80 | { 81 | height: 100%; 82 | } 83 | 84 | 85 | 86 | 87 | /* HEADER ------------------------------------------------------------------- */ 88 | 89 | #header 90 | { 91 | height: 90px; 92 | background-color: #B2DD32; 93 | background-image: url(images/header1.jpg); 94 | background-repeat: repeat-x; 95 | } 96 | 97 | h1 98 | { 99 | padding: 0 35px; 100 | font-size: 220%; 101 | font-weight: normal; 102 | line-height: 82px; 103 | } 104 | 105 | 106 | 107 | 108 | /* CONTENT ------------------------------------------------------------------ */ 109 | 110 | #content 111 | { 112 | padding: 0 35px; 113 | } 114 | 115 | p 116 | { 117 | margin-top: 1.5em; 118 | } 119 | 120 | form 121 | { 122 | margin-top: 1.5em; 123 | padding-bottom: 35px; 124 | } 125 | 126 | input.text 127 | { 128 | width: 10.5em; 129 | } -------------------------------------------------------------------------------- /Forms/required-fields-ie.css: -------------------------------------------------------------------------------- 1 | 2 | /******************************************************************************* 3 | ******************************************************************************** 4 | ** 5 | * - CONTENT 6 | ** 7 | ******************************************************************************** 8 | ******************************************************************************/ 9 | 10 | 11 | 12 | 13 | /* CONTENT ------------------------------------------------------------------ */ 14 | 15 | fieldset 16 | { 17 | position: relative; 18 | } 19 | 20 | legend 21 | { 22 | position: relative; 23 | left: -7px; 24 | top: -0.75em; 25 | } 26 | 27 | fieldset ol 28 | { 29 | padding-top: 0.25em; 30 | } -------------------------------------------------------------------------------- /Forms/required-fields-star1-ie.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | position: relative; 4 | } 5 | 6 | legend 7 | { 8 | position: relative; 9 | left: -7px; 10 | top: -0.75em; 11 | } 12 | 13 | fieldset ol 14 | { 15 | padding-top: 0.25em; 16 | } -------------------------------------------------------------------------------- /Forms/required-fields-star1.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | float: left; 4 | clear: left; 5 | width: 100%; 6 | margin: 0 0 1.5em 0; 7 | padding: 0; 8 | border: 1px solid #BFBAB0; 9 | background-color: #F2EFE9; 10 | background-image: url(images/fieldset_gradient.jpg); 11 | background-repeat: repeat-x; 12 | } 13 | 14 | legend 15 | { 16 | margin-left: 1em; 17 | padding: 0; 18 | color: #000000; 19 | font-weight: bold; 20 | } 21 | 22 | fieldset ol 23 | { 24 | padding: 1em 1em 0 1em; 25 | list-style: none; 26 | zoom: 1; 27 | } 28 | 29 | fieldset li 30 | { 31 | float: left; 32 | clear: left; 33 | width: 100%; 34 | padding-bottom: 1em; 35 | } 36 | 37 | label 38 | { 39 | float: left; 40 | width: 10em; 41 | margin-right: 1em; 42 | } 43 | 44 | label em img 45 | { 46 | position: relative; 47 | top: -3px; 48 | } 49 | 50 | fieldset.submit 51 | { 52 | float: none; 53 | width: auto; 54 | border-style: none; 55 | padding-left: 12em; 56 | background-color: transparent; 57 | background-image: none; 58 | } -------------------------------------------------------------------------------- /Forms/required-fields-star1.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Required Fields Star 6 | 7 | 11 | 16 | 17 | 18 |
19 | 24 |
25 |

26 | Fill in your details below. We promise that we won't use them to spam you with advertisements ... much. 27 |

28 |

29 | Required fields are marked with required 30 |

31 |
32 |
33 | 34 | Contact Details 35 | 36 |
    37 |
  1. 38 | 41 | 42 |
  2. 43 |
  3. 44 | 47 | 48 |
  4. 49 |
  5. 50 | 53 | 54 |
  6. 55 |
56 |
57 |
58 | 59 | Delivery Address 60 | 61 |
    62 |
  1. 63 | 66 | 67 |
  2. 68 |
  3. 69 | 72 | 73 |
  4. 74 |
  5. 75 | 78 | 79 |
  6. 80 |
  7. 81 | 84 | 85 |
  8. 86 |
  9. 87 | 90 | 91 |
  10. 92 |
93 |
94 |
95 | 96 |
97 |
98 |
99 |
100 | 101 | 102 | 103 | 104 | 105 | 106 | -------------------------------------------------------------------------------- /Forms/required-fields-star2-ie.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | position: relative; 4 | } 5 | 6 | legend 7 | { 8 | position: relative; 9 | left: -7px; 10 | top: -0.75em; 11 | } 12 | 13 | fieldset ol 14 | { 15 | padding-top: 0.25em; 16 | } -------------------------------------------------------------------------------- /Forms/required-fields-star2.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | float: left; 4 | clear: left; 5 | width: 100%; 6 | margin: 0 0 1.5em 0; 7 | padding: 0; 8 | border: 1px solid #BFBAB0; 9 | background-color: #F2EFE9; 10 | background-image: url(images/fieldset_gradient.jpg); 11 | background-repeat: repeat-x; 12 | } 13 | 14 | legend 15 | { 16 | margin-left: 1em; 17 | padding: 0; 18 | color: #000000; 19 | font-weight: bold; 20 | } 21 | 22 | fieldset ol 23 | { 24 | padding: 1em 1em 0 1em; 25 | list-style: none; 26 | zoom: 1; 27 | } 28 | 29 | fieldset li 30 | { 31 | float: left; 32 | clear: left; 33 | width: 100%; 34 | padding-bottom: 1em; 35 | } 36 | 37 | label 38 | { 39 | position: relative; 40 | float: left; 41 | width: 10em; 42 | margin-right: 1em; 43 | } 44 | 45 | label em 46 | { 47 | position: absolute; 48 | left: 10em; 49 | top: 0; 50 | } 51 | 52 | fieldset.submit 53 | { 54 | float: none; 55 | width: auto; 56 | border-style: none; 57 | padding-left: 12em; 58 | background-color: transparent; 59 | background-image: none; 60 | } -------------------------------------------------------------------------------- /Forms/required-fields-star2.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Required Fields Star 6 | 7 | 11 | 16 | 17 | 18 |
19 | 24 |
25 |

26 | Fill in your details below. We promise that we won't use them to spam you with advertisements ... much. 27 |

28 |

29 | Required fields are marked with required 30 |

31 |
32 |
33 | 34 | Contact Details 35 | 36 |
    37 |
  1. 38 | 41 | 42 |
  2. 43 |
  3. 44 | 47 | 48 |
  4. 49 |
  5. 50 | 53 | 54 |
  6. 55 |
56 |
57 |
58 | 59 | Delivery Address 60 | 61 |
    62 |
  1. 63 | 66 | 67 |
  2. 68 |
  3. 69 | 72 | 73 |
  4. 74 |
  5. 75 | 78 | 79 |
  6. 80 |
  7. 81 | 84 | 85 |
  8. 86 |
  9. 87 | 90 | 91 |
  10. 92 |
93 |
94 |
95 | 96 |
97 |
98 |
99 |
100 | 101 | 102 | 103 | 104 | 105 | 106 | -------------------------------------------------------------------------------- /Forms/required-fields.css: -------------------------------------------------------------------------------- 1 | 2 | 3 | fieldset 4 | { 5 | float: left; 6 | clear: left; 7 | width: 100%; 8 | margin: 0 0 1.5em 0; 9 | padding: 0; 10 | border: 1px solid #BFBAB0; 11 | background-color: #F2EFE9; 12 | background-image: url(images/fieldset_gradient.jpg); 13 | background-repeat: repeat-x; 14 | } 15 | 16 | legend 17 | { 18 | margin-left: 1em; 19 | padding: 0; 20 | color: #000000; 21 | font-weight: bold; 22 | } 23 | 24 | fieldset ol 25 | { 26 | padding: 1em 1em 0 1em; 27 | list-style: none; 28 | zoom: 1; 29 | } 30 | 31 | fieldset li 32 | { 33 | float: left; 34 | clear: left; 35 | width: 100%; 36 | padding-bottom: 1em; 37 | } 38 | 39 | label 40 | { 41 | position: relative; 42 | float: left; 43 | width: 10em; 44 | margin-right: 1em; 45 | } 46 | 47 | label em 48 | { 49 | display: block; 50 | color: #006600; 51 | font-size: 85%; 52 | font-style: normal; 53 | text-transform: uppercase; 54 | } 55 | 56 | fieldset.submit 57 | { 58 | float: none; 59 | width: auto; 60 | border-style: none; 61 | padding-left: 12em; 62 | background-color: transparent; 63 | background-image: none; 64 | } -------------------------------------------------------------------------------- /Forms/required-fields.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Required Fields 6 | 7 | 11 | 16 | 17 | 18 |
19 | 24 |
25 |

26 | Fill in your details below. We promise that we won't use them to spam you with advertisements ... much. 27 |

28 |
29 |
30 | 31 | Contact Details 32 | 33 |
    34 |
  1. 35 | 38 | 39 |
  2. 40 |
  3. 41 | 44 | 45 |
  4. 46 |
  5. 47 | 50 | 51 |
  6. 52 |
53 |
54 |
55 | 56 | Delivery Address 57 | 58 |
    59 |
  1. 60 | 63 | 64 |
  2. 65 |
  3. 66 | 69 | 70 |
  4. 71 |
  5. 72 | 75 | 76 |
  6. 77 |
  7. 78 | 81 | 82 |
  8. 83 |
  9. 84 | 87 | 88 |
  10. 89 |
90 |
91 |
92 | 93 |
94 |
95 |
96 |
97 | 98 | 99 | 100 | 101 | 102 | 103 | -------------------------------------------------------------------------------- /Forms/right-aligned-labels.css: -------------------------------------------------------------------------------- 1 | fieldset 2 | { 3 | float: left; 4 | clear: left; 5 | width: 100%; 6 | margin: 0 0 1.5em 0; 7 | padding: 0; 8 | } 9 | 10 | legend 11 | { 12 | margin-left: 1em; 13 | color: #000000; 14 | font-weight: bold; 15 | } 16 | 17 | fieldset ol 18 | { 19 | padding: 1em 1em 0 1em; 20 | list-style: none; 21 | zoom: 1; 22 | } 23 | 24 | fieldset li 25 | { 26 | float: left; 27 | clear: left; 28 | width: 100%; 29 | padding-bottom: 1em; 30 | } 31 | 32 | label 33 | { 34 | float: left; 35 | width: 10em; 36 | margin-right: 1em; 37 | text-align: right; 38 | } 39 | 40 | fieldset.submit 41 | { 42 | float: none; 43 | width: auto; 44 | border: 0 none #FFFFFF; 45 | padding-left: 12em; 46 | } -------------------------------------------------------------------------------- /Forms/right-aligned-labels.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Right-aligned Text Labels 6 | 7 | 11 | 12 | 13 |
14 | 19 |
20 |

21 | Fill in your details below. We promise that we won't use them to spam you with advertisements ... much. 22 |

23 |
24 |
25 | 26 | Contact Details 27 | 28 |
    29 |
  1. 30 | 33 | 34 |
  2. 35 |
  3. 36 | 39 | 40 |
  4. 41 |
  5. 42 | 45 | 46 |
  6. 47 |
48 |
49 |
50 | 51 | Delivery Address 52 | 53 |
    54 |
  1. 55 | 58 | 59 |
  2. 60 |
  3. 61 | 64 | 65 |
  4. 66 |
  5. 67 | 70 | 71 |
  6. 72 |
  7. 73 | 76 | 77 |
  8. 78 |
  9. 79 | 82 | 83 |
  10. 84 |
85 |
86 |
87 | 88 |
89 |
90 |
91 |
92 | 93 | 94 | 95 | 96 | 97 | 98 | -------------------------------------------------------------------------------- /Forms/slightly-messy.css: -------------------------------------------------------------------------------- 1 | fieldset { 2 | margin: 1.5em 0 0 0; 3 | padding: 1em 1em 0 1em; 4 | } 5 | 6 | legend { 7 | font-weight: bold; 8 | } 9 | 10 | fieldset ol { 11 | list-style: none; 12 | } 13 | 14 | fieldset li { 15 | padding-bottom: 1em; 16 | } 17 | 18 | fieldset.submit { 19 | border-style: none; 20 | } -------------------------------------------------------------------------------- /Forms/slightly-messy.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Top-aligned Text Labels 6 | 7 | 11 | 12 | 13 |
14 | 19 |
20 |

21 | Fill in your details below. We promise that we won't use them to spam you with advertisements ... much. 22 |

23 |
24 |
25 | 26 | Contact Details 27 | 28 |
    29 |
  1. 30 | 33 | 34 |
  2. 35 |
  3. 36 | 39 | 40 |
  4. 41 |
  5. 42 | 45 | 46 |
  6. 47 |
48 |
49 |
50 | 51 | Delivery Address 52 | 53 |
    54 |
  1. 55 | 58 | 59 |
  2. 60 |
  3. 61 | 64 | 65 |
  4. 66 |
  5. 67 | 70 | 71 |
  6. 72 |
  7. 73 | 76 | 77 |
  8. 78 |
  9. 79 | 82 | 83 |
  10. 84 |
85 |
86 |
87 | 88 |
89 |
90 |
91 |
92 | 93 | 94 | 95 | 96 | 97 | 98 | -------------------------------------------------------------------------------- /Forms/top-positioned-labels.css: -------------------------------------------------------------------------------- 1 | 2 | fieldset 3 | { 4 | margin: 0 0 1.5em 0; 5 | padding: 0; 6 | } 7 | 8 | legend 9 | { 10 | color: #000; 11 | font-weight: bold; 12 | } 13 | 14 | fieldset ol 15 | { 16 | padding: 1em 1em 0 1em; 17 | list-style: none; 18 | } 19 | 20 | fieldset li 21 | { 22 | padding-bottom: 1em; 23 | } 24 | 25 | label 26 | { 27 | display: block; 28 | } 29 | 30 | fieldset.submit 31 | { 32 | border-style: none; 33 | } -------------------------------------------------------------------------------- /Forms/top-positioned-labels.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Top-positioned Text Labels 5 | 6 | 10 | 11 | 12 |
13 | 18 |
19 |

20 | Fill in your details below. We promise that we won't use them to spam you with advertisements ... much. 21 |

22 |
23 |
24 | 25 | Contact Details 26 | 27 |
    28 |
  1. 29 | 32 | 33 |
  2. 34 |
  3. 35 | 38 | 39 |
  4. 40 |
  5. 41 | 44 | 45 |
  6. 46 |
47 |
48 |
49 | 50 | Delivery Address 51 | 52 |
    53 |
  1. 54 | 57 | 58 |
  2. 59 |
  3. 60 | 63 | 64 |
  4. 65 |
  5. 66 | 69 | 70 |
  6. 71 |
  7. 72 | 75 | 76 |
  8. 77 |
  9. 78 | 81 | 82 |
  10. 83 |
84 |
85 |
86 | 87 |
88 |
89 |
90 |
91 | 92 | 93 | -------------------------------------------------------------------------------- /Headings/.#flash-replacement.css.1.1: -------------------------------------------------------------------------------- 1 | /* Zero default margin & padding around common elements */ 2 | body, dd, dl, dt, embed, fieldset, form, h1, h2, h3, h4, h5, h6, img, li, object, ol, p, ul { 3 | margin: 0; 4 | border: 0 none #FFFFFF; 5 | padding: 0; 6 | } 7 | 8 | body { 9 | padding: 20px; 10 | background-color: #DDEEFF; 11 | background-image: url(images/body_bg.jpg); 12 | background-repeat: repeat-x; 13 | color: #000000; 14 | font-size: 75%; 15 | line-height: 1.4em; 16 | font-family: Arial, Helvetica, sans-serif; 17 | } 18 | 19 | h1 { 20 | /* width: 16em; */ 21 | color: #0066CC; 22 | /* font-size: 250%; */ 23 | font-family: Georgia, "Times New Roman", serif; 24 | line-height: 1.45em; 25 | } 26 | 27 | p { 28 | width: 40em; 29 | margin-top: 1.5em; 30 | } 31 | -------------------------------------------------------------------------------- /Headings/.#flash-replacement.htm.1.1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Flash Replacement 5 | 6 | 10 | 11 | 12 | 13 |

Going to the snow on donkeys!

14 |

15 | We were headed off to the snow. It was a glorious day as we strapped our skis to the roof of the car and put the foot to the pedal. I'd never been into the mountains before, so everything was a new experience. 16 |

17 |

18 | The previous day we'd visited the ski store and bought all the necessary apparel. I was now burdened with gloves, jacket, pants, boots, beanie, thermals, and goggles. Skiing's not a cheap pastime, is it? I think it's time that I got a new credit card, this one's getting a bit worn from overuse. 19 |

20 |

21 | The drive was pretty peaceful. We were flashing through restful countryside at 100 kilometres an hour; so calm and peaceful. It's always a meditative experience going on a long road trip. 22 |

23 | 24 | 25 | -------------------------------------------------------------------------------- /Headings/.#sIFR-screen.css.1.1: -------------------------------------------------------------------------------- 1 | /* These are standard sIFR styles... do not modify */ 2 | 3 | .sIFR-flash { 4 | visibility: visible !important; 5 | margin: 0; 6 | } 7 | 8 | .sIFR-replaced { 9 | visibility: visible !important; 10 | } 11 | /* 12 | span.sIFR-alternate { 13 | position: absolute; 14 | left: 0; 15 | top: 0; 16 | width: 0; 17 | height: 0; 18 | display: block; 19 | overflow: hidden; 20 | } 21 | */ 22 | /* Hide Adblock Object tab: the text should show up just fine, not poorly with a tab laid over it. */ 23 | .sIFR-flash + div[adblocktab=true] { 24 | display: none !important; 25 | } 26 | 27 | /* These "decoy" styles are used to hide the browser text before it is replaced... the negative-letter spacing in this case is used to make the browser text metrics match up with the sIFR text metrics since the sIFR text in this example is so much narrower... your own settings may vary... any weird sizing issues you may run into are usually fixed by tweaking these decoy styles */ 28 | 29 | .sIFR-hasFlash h1 { 30 | visibility: hidden; 31 | /* letter-spacing: 0.142em; */ 32 | } 33 | -------------------------------------------------------------------------------- /Headings/additional-markup.css: -------------------------------------------------------------------------------- 1 | /* Zero default margin & padding around common elements */ 2 | body, dd, dl, dt, embed, fieldset, form, h1, h2, h3, h4, h5, h6, img, li, object, ol, p, ul { 3 | margin: 0; 4 | border: 0 none #FFF; 5 | padding: 0; 6 | } 7 | 8 | body { 9 | padding: 20px; 10 | background-color: #DDEEFF; 11 | background-image: url(images/body_bg.jpg); 12 | background-repeat: repeat-x; 13 | color: #000; 14 | font-size: 75%; 15 | line-height: 1.4em; 16 | font-family: Arial, Helvetica, sans-serif; 17 | } 18 | 19 | h1 { 20 | position: relative; 21 | width: 389px; 22 | height: 43px; 23 | overflow: hidden; 24 | font-size: 175%; 25 | line-height: 43px; 26 | text-transform: uppercase; 27 | } 28 | 29 | h1 span { 30 | position: absolute; 31 | left: 0; 32 | top: 0; 33 | z-index: 10; 34 | width: 100%; 35 | height: 100%; 36 | background-image: url(images/title_snow.gif); 37 | background-repeat: no-repeat; 38 | } 39 | 40 | p { 41 | width: 40em; 42 | margin-top: 1.5em; 43 | } 44 | -------------------------------------------------------------------------------- /Headings/additional-markup.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Image Replacement - Additional Markup 5 | 6 | 9 | 10 | 11 |

12 | Going to the snow! 13 |

14 |

15 | We were headed off to the snow. It was a glorious day as we strapped our skis to the roof of the car and put the foot to the pedal. I'd never been into the mountains before, so everything was a new experience. 16 |

17 |

18 | The previous day we'd visited the ski store and bought all the necessary apparel. I was now burdened with gloves, jacket, pants, boots, beanie, thermals, and goggles. Skiing's not a cheap pastime, is it? I think it's time that I got a new credit card, this one's getting a bit worn from overuse. 19 |

20 |

21 | The drive was pretty peaceful. We were flashing through restful countryside at 100 kilometres an hour; so calm and peaceful. It's always a meditative experience going on a long road trip. 22 |

23 | 24 | 25 | -------------------------------------------------------------------------------- /Headings/flash-replacement.css: -------------------------------------------------------------------------------- 1 | /* Zero default margin & padding around common elements */ 2 | body, dd, dl, dt, embed, fieldset, form, h1, h2, h3, h4, h5, h6, img, li, object, ol, p, ul { 3 | margin: 0; 4 | border: 0 none #FFFFFF; 5 | padding: 0; 6 | } 7 | 8 | body { 9 | padding: 20px; 10 | background-color: #DDEEFF; 11 | background-image: url(images/body_bg.jpg); 12 | background-repeat: repeat-x; 13 | color: #000000; 14 | font-size: 75%; 15 | line-height: 1.4em; 16 | font-family: Arial, Helvetica, sans-serif; 17 | } 18 | 19 | h1 { 20 | width: 16em; 21 | color: #0066CC; 22 | font-size: 250%; 23 | font-family: Georgia, "Times New Roman", serif; 24 | line-height: 1.45em; 25 | } 26 | 27 | p { 28 | width: 40em; 29 | margin-top: 1.5em; 30 | } 31 | -------------------------------------------------------------------------------- /Headings/flash-replacement.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Flash Replacement 5 | 6 | 10 | 11 | 12 | 13 |

Going to the snow!

14 |

15 | We were headed off to the snow. It was a glorious day as we strapped our skis to the roof of the car and put the foot to the pedal. I'd never been into the mountains before, so everything was a new experience. 16 |

17 |

18 | The previous day we'd visited the ski store and bought all the necessary apparel. I was now burdened with gloves, jacket, pants, boots, beanie, thermals, and goggles. Skiing's not a cheap pastime, is it? I think it's time that I got a new credit card, this one's getting a bit worn from overuse. 19 |

20 |

21 | The drive was pretty peaceful. We were flashing through restful countryside at 100 kilometres an hour; so calm and peaceful. It's always a meditative experience going on a long road trip. 22 |

23 | 24 | 25 | -------------------------------------------------------------------------------- /Headings/flash/cooper_black.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Headings/flash/cooper_black.swf -------------------------------------------------------------------------------- /Headings/images/body_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Headings/images/body_bg.jpg -------------------------------------------------------------------------------- /Headings/images/title_snow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Headings/images/title_snow.gif -------------------------------------------------------------------------------- /Headings/sIFR-screen.css: -------------------------------------------------------------------------------- 1 | /* These are standard sIFR styles... do not modify */ 2 | 3 | .sIFR-flash { 4 | visibility: visible !important; 5 | margin: 0; 6 | } 7 | 8 | .sIFR-replaced { 9 | visibility: visible !important; 10 | } 11 | 12 | 13 | span.sIFR-alternate { 14 | position: absolute; 15 | left: 0; 16 | top: 0; 17 | width: 0; 18 | height: 0; 19 | display: block; 20 | overflow: hidden; 21 | } 22 | 23 | 24 | /* Hide Adblock Object tab: the text should show up just fine, not poorly with a tab laid over it. */ 25 | .sIFR-flash + div[adblocktab=true] { 26 | display: none !important; 27 | } 28 | 29 | /* These "decoy" styles are used to hide the browser text before it is replaced... the negative-letter spacing in this case is used to make the browser text metrics match up with the sIFR text metrics since the sIFR text in this example is so much narrower... your own settings may vary... any weird sizing issues you may run into are usually fixed by tweaking these decoy styles */ 30 | 31 | .sIFR-hasFlash h1 { 32 | visibility: hidden; 33 | letter-spacing: 0.142em; 34 | } 35 | -------------------------------------------------------------------------------- /Headings/scripts/sifr.js: -------------------------------------------------------------------------------- 1 | /* sIFR 2.0.2 2 | Copyright 2004 - 2006 Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben 3 | 4 | This software is licensed under the CC-GNU LGPL 5 | */ 6 | 7 | var hasFlash=function(){var a=6;if(navigator.appVersion.indexOf("MSIE")!=-1&&navigator.appVersion.indexOf("Windows")>-1){document.write(' 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |
Table 1: Census Information
NameAgeGender
Jonathan32Male
Michelle30Female
Hayden2Male
58 | 59 | 60 | -------------------------------------------------------------------------------- /Tables/images/albert.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Tables/images/albert.jpg -------------------------------------------------------------------------------- /Tables/images/table_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Tables/images/table_bg.png -------------------------------------------------------------------------------- /Tables/images/td_bg_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Tables/images/td_bg_left.png -------------------------------------------------------------------------------- /Tables/images/td_bg_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Tables/images/td_bg_right.png -------------------------------------------------------------------------------- /Tables/images/tfoot_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Tables/images/tfoot_bg.png -------------------------------------------------------------------------------- /Tables/images/th_article.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Tables/images/th_article.png -------------------------------------------------------------------------------- /Tables/images/th_date.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Tables/images/th_date.png -------------------------------------------------------------------------------- /Tables/images/tr_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spbooks/cssdesign1/aab7ec74ee14243a8cab827e6dbde1f1effdd734/Tables/images/tr_bg.png -------------------------------------------------------------------------------- /Tables/scripts/highlight.js: -------------------------------------------------------------------------------- 1 | window.onload = function() 2 | { 3 | var tbl = document.getElementById('mytable'); 4 | setHighlight(tbl); 5 | } 6 | 7 | function setHighlight(table) 8 | { 9 | if (!table) return; 10 | var TDs = table.getElementsByTagName("td"); 11 | for(var i = 0; i 3 | 4 | 5 | 6 | 7 | 31 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |
ArticleDate
8 articles for October
24 ways to feed a goatOctober 2
Top 10 ways to become popularOctober 4
Site taken? Get to the point.October 8
I was crazy to say yesOctober 9
Trying too hardOctober 15
Not trying hard enoughOctober 23
Are you dressing up?October 30
Happy Halloween!October 31
59 | 60 | -------------------------------------------------------------------------------- /Tables/striped-png-css3.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 |
ArticleDate
8 articles for October
24 ways to feed a goatOctober 2
Top 10 ways to become popularOctober 4
Site taken? Get to the point.October 8
I was crazy to say yesOctober 9
Trying too hardOctober 15
Not trying hard enoughOctober 23
Are you dressing up?October 30
Happy Halloween!October 31
78 | 79 | -------------------------------------------------------------------------------- /Tables/striped-png.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 27 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |
ArticleDate
8 articles for October
24 ways to feed a goatOctober 2
Top 10 ways to become popularOctober 4
Site taken? Get to the point.October 8
I was crazy to say yesOctober 9
Trying too hardOctober 15
Not trying hard enoughOctober 23
Are you dressing up?October 30
Happy Halloween!October 31
58 | 59 | -------------------------------------------------------------------------------- /Tables/striped.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
ArticleDate
8 articles for October
24 ways to feed a goatOctober 2
Top 10 ways to become popularOctober 4
Site taken? Get to the point.October 8
I was crazy to say yesOctober 9
Trying too hardOctober 15
Not trying hard enoughOctober 23
Are you dressing up?October 30
Happy Halloween!October 31
44 | 45 | -------------------------------------------------------------------------------- /Tables/table-example-basic.html: -------------------------------------------------------------------------------- 1 |  3 | 4 | 5 | 6 | Table Example 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
PersonWeb Site
Bryan VelosoAvalonstar
Dan RubinSuperfluousBanter
23 | 24 | -------------------------------------------------------------------------------- /Tables/table-example.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Table Example 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
Sites that I like to visit
PersonURL
[1] Enjoys Dance Dance Revolution
Bryan Veloso [1]Avalonstar
Dan RubinSuperfluousBanter
35 | 36 | 37 | --------------------------------------------------------------------------------