I think it lost it's formatting when I posted the code in here.
This works locally but may not work if copied from here;
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>tconley79</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
h1.a{
color:blue;
height:20px;
overflow:hidden;
margin:0;
padding:0;
position:relative;
top:20px;
z-index:2;
}
h1.b{
margin:0;
padding:0;
color:red;
z-index:1;
}
pre.c{
color:blue;
height:20px;
margin:0;
padding:0;
}
pre.d{
color:red;
height:20px;
margin:0;
padding:0;
margin-top:-20px;
}
-->
</style>
</head>
<body>
<h1 class="a">This is Multicolored Text!</h1>
<h1 class="b">This is Multicolored Text!</h1>
<pre class="c">a b c d e f g h i j k l m n o p q r s t u v w x y z</pre><pre class="d"> b d f h j l n p r t v x z</pre>
</body>
</html>
Edit:
Yes the spacing gets lost when posted in here but the code does work in its original form with the spaces intact.
Bookmarks