my first css code
Posted: Sat Jul 28, 2007 7:29 pm
Hi
I want to code something like this:
http://pedia.sys17.net/css1.htm
using the code below:
but you see it's not working. what is wrong? 
I want to code something like this:
http://pedia.sys17.net/css1.htm
using the code below:
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta name="generator" content="PSPad editor, http://www.pspad.com">
<title></title>
<style type="text/css">
img.1 {z-index:-1;}
img.2 {top:20px;
left=0px;
}
div {display: none}
</style>
</head>
<body>
<img class="1" border="0" src="big.jpg" width="720" height="180">
<img class="2" src="login.gif" >
<img class="2" border="0" src="logout.gif" width="144" height="72"><img class="2" border="0" src="add.gif" width="144" height="72"><img class="2" border="0" src="pass.gif" width="144" height="72"></p>
</body>
</html>