Hi,
Time to wrap quiz6 up and announce the winners.
The winners are Tconley & and Hulker.
First here's the link to the page that I asked you to either copy or to come up with one of your own.
http://www.pmob.co.uk/temp/quiz6.htm
Heres the code :
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
body {
margin:0;padding:0;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 83%;
color: #000000;
background-color: #D1DCE9;
}
h1 {
background:#AAAAFF;
color:white;
text-align:center;
border-bottom:5px solid #FF9999;
border-top:5px solid #FF9999;
margin:0;
padding:3px 0;
}
h2 {
background:#fff;
color:#000;
text-align:center;
border-bottom:2px solid red;
margin:0px;
font-size:100%;
text-align:left;
}
h3 {
background:#D0B1D1;
color:#000;
text-align:center;
border-bottom:2px solid red;
margin:0px;
padding:5px 0;
font-size:100%;
text-align:center;
}
p {
margin:0 197px;
border-right:1px solid #000;
border-left:1px solid #000;
border-bottom:1px dashed #000;
padding:5px;
background-color: #94C2C5;
}
a:hover{background:#ffffcc;color:red}
dl{margin:0}
ul, dl {
clear:left;
float:left;
width:197px;
margin:0;
padding:0;
background:#ffffcc;
border-right:1px solid #000;
border-bottom:1px solid #000;
}
dl {
background:#D0B1D1;
color:#000;
}
ul {list-style-type:none;}
ul li {
text-align:center;
line-height:25px;
height:25px;
border-bottom:1px solid #000;
}
ul li a {
text-decoration:none;
display:block;
height:100%;
}
ul li a:hover {
background:yellow;
color:red;
}
h3,ol {
float:right;
width:197px;
clear:right;
}
ol{
color: #000;
background-color: #CFB9A9;
border-bottom:1px solid #000;
border-left:1px solid #000;
line-height:20px;
margin:0 0 10px 0;padding:0;
}
ol li {margin-left:25px;}
h4 {
margin:0;
border-top:1px solid #000;
border-bottom:1px solid #000;
font-size:90%;
text-align:center;
padding:10px;
background:#CAFFCA;
clear:both;
}
</style>
</head>
<body>
<h1>This is the header</h1>
<h2>Sub header - Breadcrumb trail - You are here ><a href="#"> Home</a></h2>
<ul>
<li><a href="#">Menu item 1</a></li>
<li><a href="#">Menu item 2</a></li>
<li><a href="#">Menu item 3</a></li>
<li><a href="#">Menu item 4</a></li>
<li><a href="#">Menu item 5</a></li>
<li><a href="#">Menu item 6</a></li>
<li><a href="#">Menu item 7</a></li>
<li><a href="#">Menu item 8</a></li>
</ul>
<h3>Reasons to visit this site</h3>
<ol>
<li>It's Good</li>
<li>It's Free</li>
<li>It's CSS</li>
<li>It's Good</li>
<li>It's Cheap</li>
<li>It's Nice</li>
<li>It's Here</li>
<li>It's Mine</li>
</ol>
<dl>
<dt title="Cascading Style Sheets"><abbr title="Cascading Style sheets">CSS</abbr></dt>
<dd>Cascading Style Sheets : Some info about CSS : Some info about CSS : Some
info about CSS : Some info about CSS : Some info about CSS : </dd>
</dl>
<p>This is the centre content : This is the centre content : This is the centre
content : This is the centre content : This is the centre content : This is
the centre content : This is the centre content : This is the centre content
: This is the centre content : </p>
<p>This is the centre content : This is the centre content : This is the centre
content : This is the centre content : This is the centre content : This is
the centre content : This is the centre content : This is the centre content
: This is the centre content : </p>
<h4>| <a href="#">link</a> | <a href="#">link</a> | <a href="#">link</a> | <a href="#">link</a>
| <a href="#">link</a> |</h4>
</body>
</html>
The above code is valid xhtml and passes bobby aaa for accessibility etc.
Note that I have allowed a little leeway in these entries so I'm not being as strict as usual. The winners to meet the specified criteria as mentioned above are:
Best original layout: Tcoley79
http://www.liquidarch.com/sp/no_divs.htm
The textarea should have rows and cols to validate but thats the only thing wrong with it. The design was inventive and had a practical use and looks great (much better than mine lol).
The winner for the best copy of my design goes to :Hulkur
http://www.larp.ee/fun/test5.html
The layout validates and is very similar to the example I set. The only thing I could say is that the bottom links are not really semantically correct as they use blockquote which should be for quotes. Otherwise its fine and a worthy winner.
Other layouts worth mentioning are:
Frost - Good effort bud didn't validate
http://bragatel.pt/frost/
hulksjedi - Good effort not finished though (no link available).
Late entry by Little Rose (and with a little bit of coaching from me) has a good solid entry.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7" />
<style type="text/css">
html {margin: 0; padding: 0;}
body {margin: 0; padding: 0; background: white;
font: 0.80em Verdana, Helvetica, sans-serif;}
h1, h4 {padding: 0.5em;}
h1 {background: #E7FE8A; color: green;
margin: 0;}
h2 {margin: 0; padding: 0.2em 1em;
font-size: 100%;
background: #ccc;
border: solid green; border-width: 1px 0;}
h3 {margin: 0; padding: 0 0 0 2px; width: 200px;
font-size: 100%; background: green; color: white;
float: right;}
h4 {font-size: 80%;
clear: both;
font-weight: normal;
background: #eee; color: #666;
margin: 0;
text-align: center;
border: solid #ccc; border-width: 1px 0;
}
ul {
border: solid green; border-width: 0 1px 1px 0;}
ul {margin: 0; padding: 0; float: left;}
ul li {list-style: none; padding: 0; margin: 0;}
blockquote {width: 162px; margin: 1px 0 0 1px; padding: 0;
background: #eee;}
ol {
border-bottom: 2px solid green;
border-left: 2px solid green;
width: 200px;
clear: right;
float: right;
color: black;
background: #E7FE8A;
margin: 0; padding: 0;}
ol li {list-style-position: inside;
padding: 0.5em; font-weight: normal;}
p {
background: #white;
margin: 0 200px 0 163px; padding: 1em;
}
a {
display: block;
background: #EFFEB3; color: green;
border-bottom: 1px solid green;
margin: 0; padding: 0.5em;
text-decoration: none;
width: 150px;
}
</style>
</head>
<body>
<h1>This is the header</h1>
<h2>subheader here</h2>
<ul>
<li><a href="#">menu item one</a></li>
<li><a href="#">menu item two</a></li>
<li><a href="#">menu item three</a></li>
<li><a href="#">menu item four</a></li>
<li><a href="#">menu item five</a></li>
<li><a href="#">menu item six</a></li>
<li>
<blockquote> Cascading style sheets: some info<br />
Cascading style sheets: some info<br />
Cascading style sheets: some info<br />
Cascading style sheets: some info </blockquote>
</li>
</ul>
<h3>Reasons to visit this site</h3>
<ol>
<li>fabulous</li>
<li>extraordinary</li>
<li>amazing</li>
<li>fantastic</li>
<li>super cool</li>
<li>css-licious</li>
</ol>
<p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam nec eros.
Sed est arcu, vulputate nec, elementum ut, sagittis ac, enim. Donec vitae massa
non lectus blandit viverra. Sed felis arcu, imperdiet ac, blandit quis, suscipit
id, lorem. Nullam cursus nibh at arcu. Vestibulum ante ipsum primis in faucibus
orci luctus et ultrices posuere cubilia Curae; Morbi bibendum sapien. Ut elementum
hendrerit tortor. Ut viverra venenatis leo. Maecenas feugiat pretium dui. Nulla
eget dolor in wisi semper sagittis. Nullam ac est. </p>
<h4>© 2004 Footer Inc. All rights reserved.</h4>
</body>
</html>
Well done to all who took part and anyone else I forgot to mention
I hope you enjoyed the quiz and learned something along the way. There will be another one in a few days time which will give you all time to have a rest.
Thanks for playing.
Paul
Bookmarks