Solutions Continued:
Vim.F
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Sitepoint Logo - update 01</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
/* Preparation */
* {
margin:0;
padding:0;
}
body {
padding:1em;
background:#fcc;
font-size:100%;
}
/* The Logo */
#ico {
float:left;
width:4.8em;
margin:0 .5em 0 0;
}
body h1 {
float:left;
color:#036;
font:3em/1.74 arial,helvetica,sans-serif;
}
body i {
float:left;
height:0;
width:0;
line-height:0;
position:relative;
border-right:.06em solid #f60;
border-bottom:1.75em solid #f60;
border-left:.75em dotted transparent;
}
body i i {
float:right;
padding:0 .75em 0 0;
margin:0 -1.5em -1.75em 0;
border:none;
border-top:1.75em solid #f60;
border-right:.75em dotted transparent;
}
body .a {
margin:0 3.75em .25em 0;
}
body .b-1,
body .b-2 {
border-top:1.75em solid #036;
border-right:.06em solid #036;
border-bottom:none;
margin:0 0 .25em;
}
body .b-1 i,
body .b-2 i {
border-top:none;
border-right:.75em dotted transparent;
border-bottom:1.75em solid #036;
margin:-1.75em -1.5em 0 0;
}
body .b-2 {
float:right;
margin-right:1.5em;
}
body .c {
margin:0 1.5em .25em 0;
float:right;
}
</style>
</head>
<body>
<div id="ico">
<i class="a"><i></i></i>
<i class="b-1"><i></i></i>
<i class="b-2"><i></i></i>
<i class="c"><i></i></i>
</div>
<h1>sitepoint</h1>
</body>
</html>
There were other entries on a similar vein so I won't post them all but instead focus on some other different methods.
Zcorpan: (uses generated content works in Opera )
Code:
<!DOCTYPE html>
<title>CSS quiz 12A (zcorpan)</title>
<style>
.logo {
display:inline-block;
font:bold 7em Times New Roman, Times, serif;
height:0;
width:.2em;
overflow:hidden;
padding-top:.1em;
padding-bottom:.1em;
vertical-align:middle
}
.logo:before {
content:'/\a/';
display:block;
white-space:pre;
line-height:.78em;
margin-top:-.79em;
text-indent:.1em;
margin-left:-.1em;
color:orangered
}
.logo:after {
content:'\\\\';
display:block;
white-space:nowrap;
height:.3em;
overflow:hidden;
margin-top:-1.03em;
letter-spacing:-.18em;
color:navy
}
h3 {
background:pink
}
</style>
<h1><span class=logo></span> sitepoint</h1>
<h2><span class=logo></span> sitepoint</h2>
<h3><span class=logo></span> sitepoint</h3>
zcorpan (uses CSS transformations - this only works in firefox 3.1 (nightly)
Code:
<!DOCTYPE html>
<style>
.logo {
display:inline-block;
vertical-align:middle
}
.logo:before {
content:'\2580\a\2580';
white-space:pre;
color:orangered;
-webkit-transform:skew(-15deg);
-moz-transform:skew(-15deg);
display:block;
text-indent:-1.35em;
padding-left:1.35em;
line-height:1.3
}
.logo:after {
content:'\2580 \2580';
color:navy;
display:block;
-webkit-transform:skew(15deg);
-moz-transform:skew(15deg);
margin-top:-2em;
padding-left:.3em
}
h3 {
background:pink
}
</style>
<h1><span class=logo></span> sitepoint</h1>
<h2><span class=logo></span> sitepoint</h2>
<h3><span class=logo></span> sitepoint</h3>
secretAgentRegge (Css transformations - works in Safari)
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>CSS - Test Your CSS Skills Number 12 A</title>
<style type="text/css">
body {padding:0.5em; font-size:1.5em; font-family:"Times New Roman", sans-serif;}
b,i {display:block; height:3em; width:3em; margin-right:1em; margin-bottom:0.3em; overflow:hidden;}
b {background:#f60; -webkit-transform:skew(-20deg, 0deg);}
i {float:left; background:#036; -webkit-transform:skew(20deg, 0deg);}
p + b {clear:both; margin-left:4em;}
p {float:left; padding-left:0.18em; color:#036; font-size:6em; font-weight:bold; height:0em; overflow:visible; margin-top:-0.45em;}
</style>
</head>
<body>
<b></b><i></i><i></i><p>sitepoint</p><b></b>
</body>
</html>
Stomme Poes:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="nl">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="nl">
<title>Teh Log0z</title>
<meta name="description" content="logoz zonder tekens behalve voor IE6">
<style type="text/css">
* {
margin: 0;
padding: 0;
}
#logo {
margin: 10px;
padding-bottom: 1em;
font-family: georgia, "times new roman", serif;
width: 40em; /*IE6*/
overflow: hidden;
background-color: #eef; /*testz*/
}
b, i {
height: 0;
width: 0;
float: left;
font: bold 1.5em/1.2em impact, "arial black", sans-serif;/*IE6*/
letter-spacing: -.4em; /*IE6*/
}
div[id] b, div[id] i {
border-top: 1.8em solid transparent;
border-right: 1.3em solid #f60;
text-indent: -9999em;
font-size: 1em;
line-height: 1.1em;
}
i {
font-style: italic; /*IE6*/
color: #f60; /*IE6*/
}
div[id] i+i {
border: 1em solid #f60;
border-bottom-color: transparent;
border-width: 0 0 1.8em 1.3em;
}
div p+i {
margin-left: 2.8em;
}
div[id] b {
font-size: .7em;
border-top: 0;
border-bottom: 1.8em solid transparent;
border-right: 1.3em solid #036;
}
div b[class] {
border-top: 1.8em solid transparent;
border-left: 1.3em solid #036;
border-bottom: 0;
border-right: 0;
}
p {
clear: left;
color: #036;
width: 100%; /*IE6*/
margin: -.5em 0;/*IE6*/
line-height: 1.5em;
}
div[id] p {
padding: .14em 0;
margin: 0;
font-size: 1.5em;
line-height: 1em;
overflow: hidden;
}
</style>
</head>
<body>
<div id="logo"> <i>//////</i><i></i>
<p><b>\\\\\\</b><b class="placeyoursecretmessagehere"></b><b>\\\\\\</b><b class="lawlz"></b> sitepoint.nl</p>
<i> </i><i>//////</i> </div>
</body>
</html>
Yurikolovsky: (generateed content modern browers only)
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="logo-Type" logo="text/html; charset=utf-8">
<title>YuriKolovsky: Solution to CSS Quiz #12A modern browsers</title>
<style type="text/css">
* {
margin:0;
padding:0;
position:relative;
}
body {
font-size:100%;
}
#container {
height:7.125em;
border:solid #000 1px;
background-color:#eeeeff;
display:block;
width:18.7em;
margin:50px auto;
padding:0.1em 2.625em 0.1em 0.1em;
}
span {
font-size:4em;
font-family:"Times New Roman", Times, serif;
color:#003366;
float:left;
line-height:160%;
left:0.156em;
height:100%;
}
#logo {
width:7.375em;/*6.875em*/
height:7.125em;
float:left;
}
#logo b {
float:left;
margin:0 0.25em 0.25em 0;
}
#logo b:first-child {
clear:right;
margin-right:3.248em;
}
#logo b:last-child {
clear:left;
margin-left:3.248em;
}
#logo b:before, #logo b:after {
content:"";
display:block;
overflow:hidden;
border:0;
height:0;
width:0;
}
#logo b:before {
border-right:1.063em dashed transparent;
border-left:1.125em solid #003366;
border-bottom:2.188em solid #003366;
margin-left:1.063em;
}
#logo b:after {
border-left: 1.063em dashed transparent;
border-right: 1.063em dashed transparent;
border-top:2.188em solid #003366;
margin-top:-2.188em;
}
#logo b:first-child:before {
border-left:1.063em dashed transparent;
border-right:1.063em solid #ff6600;
border-bottom:2.188em solid #ff6600;
margin-left:0;
}
#logo b:first-child:after {
border-left:1.063em solid #ff6600;
border-right:1.125em dashed transparent;
border-top:2.188em solid #ff6600;
margin-left:1.063em;
margin-top:-2.188em;
}
#logo b:last-child:before {
border-left:1.063em dashed transparent;
border-right:1.063em solid #ff6600;
border-bottom:2.188em solid #ff6600;
margin-left:0.25em;
}
#logo b:last-child:after {
border-left:1.063em solid #ff6600;
border-right:1.125em dashed transparent;
border-top:2.188em solid #ff6600;
margin-left:1.313em;
margin-top:-2.188em;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
<div id="container">
<div id="logo"> <b></b><b></b><b></b><b></b> </div>
<span>sitepoint</span>
</div>
</body>
</html>
Ornettes answer to quiz B with the square boxes:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
* {
margin:0;
padding:0;
}
div.box_1 {
width: 40px;
height: 40px;
border-top: solid 2px #ccc;
border-left: solid 2px #ccc;
border-right: solid 2px #000;
border-bottom: solid 2px #000;
position:relative;
top: 0px;
left: 0px;
}
div.box_2 {
width: 30px;
height: 30px;
border-top: solid 2px #ccc;
border-left: solid 2px #ccc;
border-right: solid 2px #000;
border-bottom: solid 2px #000;
position:relative;
top: -39px;
left: 5px;
}
div.box_3 {
width: 20px;
height: 20px;
border-top: solid 2px #ccc;
border-left: solid 2px #ccc;
border-right: solid 2px #000;
border-bottom: solid 2px #000;
position:relative;
top: -68px;
left: 10px;
}
div.box_4 {
width: 10px;
height: 10px;
border-top: solid 2px #ccc;
border-left: solid 2px #ccc;
border-right: solid 2px #000;
border-bottom: solid 2px #000;
position:relative;
top: -87px;
left: 15px;
}
div.box_5 {
width: 2px;
height: 2px;
border-top: solid 2px #ccc;
border-left: solid 2px #ccc;
border-right: solid 2px #000;
border-bottom: solid 2px #000;
position:relative;
top: -97px;
left: 19px;
}
div.container_1 {
width: 45px;
height: 45px;
position: relative;
top: 0;
left: 0;
overflow: hidden;
font-size: 0;
}
div.container_2 {
width: 45px;
height: 45px;
position: relative;
top: -38px;
left: 600px;
overflow: hidden;
font-size: 0;
}
div.container_3 {
width: 45px;
height: 45px;
position: relative;
top: 110px;
left: 300px;
overflow: hidden;
font-size: 0;
}
div.container_4 {
width: 45px;
height: 45px;
position: relative;
top: 240px;
left: 0;
overflow: hidden;
font-size: 0;
}
div.container_5 {
width: 45px;
height: 45px;
position: relative;
top: 200px;
left: 600px;
overflow: hidden;
font-size: 0;
}
</style>
</head>
<body>
<div class ="container_1">
<div class="box_1"></div>
<div class="box_2"></div>
<div class="box_3"></div>
<div class="box_4"></div>
<div class="box_5"></div>
</div>
<div class="container_2">
<div class="box_1"></div>
<div class="box_2"></div>
<div class="box_3"></div>
<div class="box_4"></div>
<div class="box_5"></div>
</div>
<div class="container_3">
<div class="box_1"></div>
<div class="box_2"></div>
<div class="box_3"></div>
<div class="box_4"></div>
<div class="box_5"></div>
</div>
<div class="container_4">
<div class="box_1"></div>
<div class="box_2"></div>
<div class="box_3"></div>
<div class="box_4"></div>
<div class="box_5"></div>
</div>
<div class="container_5">
<div class="box_1"></div>
<div class="box_2"></div>
<div class="box_3"></div>
<div class="box_4"></div>
<div class="box_5"></div>
</div>
</body>
</html>
YuriKolovsky solution to quiz 12 B:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="logo-Type" logo="text/html; charset=utf-8">
<title>YuriKolovsky: Solution to CSS Quiz #12B</title>
<style type="text/css">
* {
margin:0;
padding:0;
position:relative;
}
html, body {
height:80%;
}
body {
font-size:100%;
}
#container { /*I made the thing resizable for the fun of it*/
height:200px; /*make this 50%*/
width:220px; /*make this 23%*/
margin:100px auto;
border:solid #d8d9db 1px;
border-bottom:solid #46494c 1px;
border-right:solid #46494c 1px;
padding:15px 5px 15px 5px;
}
#a, #b, #c, #d, #e {
width:50%;
height:33%;
float:left;
}
#b, #e {
float:right;
}
#c {
width:100%;
}
#b div {
right:0;
}
#c div {
position:absolute;
text-align: center;
top:50%;
left:50%;
margin-left:-11px;
margin-top:-11px;
}
#c div div {
position:relative;
top:0;
left:0;
margin-left:0;
margin-top:0;
}
#d div {
bottom:0;
}
#e div {
right:0;
bottom:0;
}
div div div {
border:solid #d8d9db 1px;
border-bottom:solid #46494c 1px;
border-right:solid #46494c 1px;
}
#container div div div div div div {
width:1px;
height:1px;
}
#container div div div {
position:relative;
display:block;
padding:1px;
}
#container div div {
position:absolute;
display:block;
overflow:hidden;
padding:1px;
}
#container div div div div div div {
padding:0px;
}
</style>
</head>
<body>
<div id="container">
<div id="a"><div><div><div><div><div></div></div></div></div></div></div>
<div id="b"><div><div><div><div><div></div></div></div></div></div></div>
<div id="c"><div><div><div><div><div></div></div></div></div></div></div>
<div id="d"><div><div><div><div><div></div></div></div></div></div></div>
<div id="e"><div><div><div><div><div></div></div></div></div></div></div>
</div>
</body>
</html>
I think that covers most of the methods used so congratulations to all. If I missed anyone or I didn't post your entry then feel free to post your entries in a post of your own.
Thanks for taking part and keep an eye out for the next quiz which I will post tonight or tomorrow.
Bookmarks