the_gig : Design 8 « Templates « HTML / CSS






the_gig

   

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- Doctype tells the browser what version of xhtml/html -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="The Gig OSWD template" />
<meta name="keywords" content="Add keywords here" />
<meta name="author" content="Add your name here" />
<!-- Original template by Dave Reeder (www.davereederdesign.com) -->
<style type='text/css'>
body { text-align: center; background-color: #E0D38C; padding: 0; margin: 0 }

/* global */

* {font-family: Verdana, Arial, serif; text-align: left }

/* layout */

#container {
margin: 0 auto 0 auto;
width: 770px;
background: #000;
overflow: hidden /* Stops background becomming invisible in Firefox */
}

#hdr {
width: 770px;
height: 175px;
background: url('the_gig-images/hdr.gif') no-repeat bottom right #E0D38C
}

#left {
padding-bottom: 75px; /* Leaves a gap at the bottom of the column to push the background image down */
float: left;
width: 165px;
background: url('the_gig-images/guitar.gif') no-repeat bottom left #000
}

#main {
padding-bottom: 15px; /* Leaves a nice gap at the bottom of the column */
float: left;
width: 455px;
background: transparent
}

#right {
padding-bottom: 15px; /* Leaves a nice gap at the bottom of the column */
float: right;
width: 150px;
background: transparent
}

#bottom { /* This div is used for validation and copyright info */
margin: 0 auto;
width: 770px;
height: 30px;
line-height: 30px;
color: #333;
font-size: 0.6em;
text-align: center;
overflow: hidden
}

#bottom a {
  padding-right: 10px;
  color: #634C04;
  text-decoration: underline
}

#bottom a:hover {
  padding-right: 10px;
  color: #EEAB36;
  text-decoration: underline
}


/* text & list styles */

#sitetitle {  /* Styles for the site title */
position: relative;
top: 8px;
left: 2px;
padding: 0px 3px 3px 3px;
letter-spacing: 2px; /* stretches the title out nicely */
font-family: Georgia, serif; /* Makes the title a different font to the paragraph text */
font-size: 2.3em; /* adjust to suit length of title */
font-weight: bold;
font-style: italic;
color: #634C04
}

#main h1, #main h2 {  /* Styles for headings in the main content area */
  margin-top: 20px;
  margin-left: 20px;
  margin-bottom: 0px;
  font-family: Georgia, serif; /* Makes the headings a different font to the paragraph text */
  font-size: 1.0em;
  font-weight: normal;
  color: #FCF0AD;
  line-height: 1.0em;
  letter-spacing: 2px
}

#main h2 { /* Makes h2 slightly smaller than h1 */
  font-size: 0.75em;
  line-height: 0.75em
}

.paragraphblock {  /* This div class is used to give the paragraph blocks their background color */
  margin: 15px;
  background: #312B0A;
  border: 1px solid #433B10
}

#main p {   /* styles main area paragraph text */
  margin: 15px;
  font-size: 0.7em;
  color: #E0D38C;
  line-height: 1.5em
}

/* Extra tags are defined here for the main content area */
#main pre {
  font-family: monospace;
  font-size: 11px;
  margin: 15px;
  color: #ADA59C;
  line-height: 12px
}

#main blockquote {
  color: #E0D38C;
  line-height: 1.5em
}

#main acronym {
  border-bottom: 1px dashed #E0D38C
  }
  
.updated {   /* styles article dates */
  margin-left: 20px;
  padding: 0;
  color: #ccc;
  font-size: 0.55em;
  background: none
}

#main ul {   /* styles main area unordered(bulleted) lists */
  margin-top: 15px; /* This margin is the top margin of the WHOLE list, hence why it is specified in ul and not li */
  margin-bottom: 15px; /* This margin is the bottom margin of the WHOLE list, hence why it is specified in ul and not li */
  font-size: 0.7em;
  color: #E0D38C;
  line-height: 1.5em;
  list-style: square /* This controls the bullet point style. */
}

#main li {
  margin-left: 5px /* This margin acts as an indent for each list item.  Indenting the whole list doesn't work well in IE. */
}

#main ol {   /* styles main area ordered(numbered) lists */
  margin-top: 15px; 
  margin-bottom: 15px; 
  font-size: 0.7em;
  color: #E0D38C;
  line-height: 1.5em;
  list-style-type:  decimal
 }


#right h1, #right h2 { /* styles for right column headings */
  margin-top: 26px;
  margin-left: 5px;
  font-family: Georgia, serif;
  font-size: 0.8em;
  font-weight: normal;
  color: #FCF0AD;
  line-height: 0.8em;
  letter-spacing: 2px
}

#right p {  /* styles for right column paragraph text */
  margin: 5px;
  font-size: 0.6em;
  line-height: 1.6em;
  color: #ccc
}

#left h1, #left h2 {  /* styles for left column headings */
  margin-top: 26px;
  margin-left: 5px;
  font-family: Georgia, serif;
  font-size: 0.8em;
  font-weight: normal;
  color: #FCF0AD;
  line-height: 0.8em;
  letter-spacing: 2px
}

/* links */

#main a:link, #main a:visited {  /* These styles are for links in the main content area only */
color: #ccc;
text-decoration: underline
}

#main a:hover, #main a:active {  /* These styles are for links in the main content area only */
color: #EEAB36;
text-decoration: underline
}


#right a:link, #right a:visited {  /* These styles are for links in the right column only */
color: #ccc;
text-decoration: underline
}

#right a:hover, #right a:active {  /* These styles are for links in the right column only */
color: #EEAB36;
text-decoration: underline
}

/* main navigation */

#left ul {   /* defined as left because the nav is in the left div */
margin: 33px 0 0 0;  /* top margin brings the menu down slightly */
list-style: none;
padding: 0;
width: 160px
}

#left li {
border: 0;
padding: 0;
margin: 0;
display: inline /* fix for IE 5 & 6 */
}

#left a {  /* these "a" styles define the main text that appears when the main links are hovered over */
display: block;
border: 0;
padding: 3px;
margin: 0;
font-family: Georgia, serif;
font-size: 15px;
text-decoration: none;
letter-spacing: 3px
}

#left a:link, #left a:visited { /* these "a" styles define the main text that appears when the main links are hovered over */
padding-left: 10px;
color: #FCF0AD;
background: url('the_gig-images/menuarrow.gif') no-repeat;
background-position: 0% 25%
}

#left a:hover, #left a:active { /* these "a" styles define the main text that appears when the main links are hovered over */
padding-left: 10px;
color: #EEAB36;
background: url('the_gig-images/menuarrowover.gif') no-repeat;
background-position: 0% 25%;
background-color: #444
}

#left span.comment {   /* the .comment style defines the small text that appears when the links are hovered over */
margin: 0;
padding: 0;
color: #444;
font-size: 10px;
background: none;
letter-spacing: 0;
visibility: hidden
}

#left a:hover span.comment  {  /* the .comment style defines the small text that appears when the links are hovered over */
margin: 0;
padding: 0;
color: #fff;
font-size: 10px;
background: none;
letter-spacing: 0;
visibility: visible
}

ul#mainnav li span.comment { /* the .comment style defines the small text that appears when the links are hovered over */
  font-family: Verdana, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  padding: 0;
  margin: 0;
  display: inline;
  font-size: 10px;
  line-height: 12px;
  height: 10px;
  width: 150px;
  color: #444;
  clear: both
}


ul#mainnav li a:hover span.comment { /* the .comment style defines the small text that appears when the links are hovered over */
  background-color: #555;
  text-decoration: none;
  color: #aaa
}

</style>


<title>the gig</title>
</head>

<body>

<div id="container"> <!-- The container keeps all the divs together and automatically aligns them centrally in the window -->
<div id="hdr"> <!-- The hdr (header) div displays the banner image of the site and the site title -->
<span id="sitetitle">The Gig</span>  <!-- the sitetitle class positions the site title in the top left corner -->
</div> <!-- End of header/banner div -->

<div id="left"><!-- Left column -->
<h1>Main Menu:</h1>
  <ul>
    <li><a href="#">home<br />
  <span class="comment">home page</span></a>
    </li>
    <li><a href="#">about<br />
  <span class="comment">about &quot;the gig&quot;</span></a>
    </li>
    <li><a href="#">images<br />
  <span class="comment">photos from various gigs</span></a></li>
    <li><a href="#">contact<br />
  <span class="comment">contact &quot;the gig&quot;</span></a></li>
    <li><a href="#">links<br />
  <span class="comment">links relating to gigs</span></a></li>
  </ul>
</div> <!-- End of left nav column -->

<div id="main"><!-- Main content area -->
<h1>Welcome to &quot;the gig&quot;</h1>
<span class="updated">Last Updated: 24-09-05</span>

<div class="paragraphblock"><!-- Beginning of first paragraph block which houses the paragraph text -->
<p>Hello and welcome to &quot;the gig&quot; by <a href="http://www.oswd.org/userinfo.phtml?user=drd">drd</a>  I've always wanted to do a &quot;light on dark&quot; design but never got the look right, but I think this works ok. </p>
<p>I decided a gig was a good theme for a template with a dark background, but of course the template can easily be modified for any theme/colour sheme.</p>
</div> <!-- End of this paragraph block -->

<h2>What's the point?</h2>
<span class="updated">Last Updated: 24-09-05</span>
<div class="paragraphblock">
<p>The point of this template is best summarised as a list of key features and goals:</p>
<ul>
<li>To have valid CSS and XHTML coding</li>
<li>Original appearance</li>
<li>Highly functional and accessible</li>
<li>Contribute something to the web design community who have taught me so much</li>
</ul>

</div> <!-- End of this paragraph block -->

<h2>Working with &quot;the gig&quot;</h2>
<span class="updated">Last Updated: 24-09-05</span>
<div class="paragraphblock">
<p>I have tried to make it as easy as possible to work with this template.  Editing can be done in a text editor such as Notepad and viewed in a browser (as the XHTML and CSS is fully commented) or you can use the excellent free NVU editor which can be downloaded <a href="http://www.nvu.com/download.html">here</a></p>
<p>You could also use Dreamweaver, but it does seem to display things in a slightly odd way</p>

<p>If you get really stuck then please don't hesitate to <a href="mailto:dave@davereederdesign.com">email me.</a><br/>
Alternatively you can use the form on the contact page of my website. <a href="http://www.davereederdesign.com/contact.htm">Here</a></p>

<p>I hope you enjoy the template.</p>


</div> <!-- End of this paragraph block -->

<h2>Other tags</h2>
<span class="updated">Last Updated: 24-09-05</span>
<div class="paragraphblock">
<p>Here are some other older tags I've added to the stylesheet:</p>
<pre>This is text using the pre tag<br />you could use this for showing code etc<br />Remember, pre text doesn't word wrap!<br />So you need to use line breaks.</pre>
<blockquote><p>This is text using the blockquote tag.  It's probably better just to use a style with higher left and right margin values.</p></blockquote>
<p><acronym title="acronym text">acronym text</acronym></p>
<p><strong>strong text</strong></p>
<p><b>bold text</b></p>
<p><i>italic text</i></p>

</div> <!-- End of this paragraph block -->

</div> <!-- End of main content -->

<div id="right">
<h1>Gig Info:</h1>
<p><strong>15-11-05</strong><br />The Cricketers, Horsell</p>
<p><strong>18-11-05</strong><br />Queen's Head, Woking</p>
<p><strong>02-12-05</strong><br />The Star, Guildford</p>
<h2>Photos</h2>
<p><strong>03-08-05</strong><br /><a href="">The Cricketers, Horsell</a></p>
<p><strong>14-06-04</strong><br /><a href="">Horseshoe, Chobham</a></p>
<br /><!-- Keep this break here, it seems to fix a wierd overflow in IE -->
</div><!-- End of right column -->

</div> <!-- closes container -->

<div id="bottom">
<a href="http://jigsaw.w3.org/css-validator/check/referer" title="Validate the CSS">CSS</a>
<a href="http://validator.w3.org/check?uri=referer" title="Validate the XHTML">XHTML</a>
Copyright &copy; 2005 your copyright here
</div> <!-- End of bottom bar -->




</body>
</html>

   
    
    
  








Related examples in the same category

1.sprayedstrokes
2.Square
3.squarely
4.st-valentines-day
5.stacko
6.stamp
7.standardissue
8.standardized
9.starburst
10.stardust
11.stargazer
12.stark
13.steppingstone
14.stichy
15.stickybud
16.stickynotes
17.Stock
18.streetclock
19.strict
20.strockes
21.students-site
22.stygian
23.stylevantage1-0
24.stylish
25.stylized
26.subdued
27.subordinate
28.substance
29.substantial
30.superior
31.supplementary
32.surpris
33.surreal
34.sweatbee
35.swift
36.switchr
37.sworm
38.Symisun_01
39.symphonic
40.symphonyofhorror
41.synchronize
42.Synergy
43.systematized
44.tabbed
45.tangular
46.tardy
47.tcm
48.tealzine
49.team_three
50.templatika
51.Tenebrific
52.terje1_winter
53.terrafirma
54.terrafirma2
55.The-Carbon
56.the-dark-one
57.the-island
58.the-mmozine
59.the-music-studio
60.the-new-audi
61.the-synopsis
62.the-themepod
63.the-web-news
64.theacmegroup
65.thechosenone
66.thelatest
67.themanor
68.tinytemplate
69.themissing-piece
70.thermal
71.thesite
72.thetechies
73.thewall
74.thisistext
75.throughout
76.thunder
77.ticktocklight
78.time
79.Timeless Template
80.timeless
81.timemanager
82.toolkit
83.tooplain
84.topbusiness
85.topgadgets
86.topworks
87.tornpaperdocom
88.totaltouch
89.towers
90.traditionalist
91.transient
92.transition
93.transport
94.trialservices
95.trikea-static
96.trinityinstitute
97.tropical-evening
98.tropical
99.truenature
100.turn-out-mag
101.Turnesol
102.turnitup
103.turrion-development
104.tv-archade
105.twirling
106.twisted
107.Typography
108.ultimateweb
109.unbound-1.0
110.uncomplicated
111.undefined
112.Underground
113.undertaking
114.UnderWraps
115.undiscovered
116.unembellished
117.unilluminated
118.uniq
119.unite
120.universal
121.unknown
122.unlink
123.unnamed
124.unqualified
125.urbanartist
126.usabilityreport
127.variety
128.vectorlover1-0
129.vegetable
130.veggie
131.ventix
132.vertical
133.verticals
134.vertigo
135.VeryGreen
136.VIBE
137.vibrant
138.Village
139.vintage-style
140.violetrays
141.visioninc
142.visions
143.vitruvius
144.vivid
145.Viziora
146.voodoo-dolls
147.voodoodollyv2.0
148.voyage
149.WaiveLive
150.walls
151.wanderer
152.warmblue
153.warped
154.watchthis
155.watercolored-portfolio
156.waterfactory
157.waterfall
158.waterfalls
159.WaterPool
160.we think
161.web-application
162.web-design-studio
163.web-design
164.web-hosting
165.web-shop
166.web2
167.webdesign
168.webdesigninfo
169.webmob
170.websitedesignx
171.webvision
172.Web_Application
173.wellness
174.whatsyoursolution
175.wickedred
176.widecommerce
177.widget
178.widgetlike
179.wildgoose
180.wing-the-air
181.winglobal
182.wiremesh
183.world-of-warcraft
184.xenlog
185.xgallery
186.xhtmldesign
187.xhtmldev_rainbow
188.xhtmldev_RealEstate
189.xodafields0.2
190.ynt
191.yosemite
192.your-blazing-app
193.yourhost
194.yourministry
195.zillanine