bigcasey123
08-07-2012, 12:50 AM
Here's my site http://thisisatest.host56.com/
it won't let you click register for some reason. When i put the register link some where else then it lets you click it. I don't get what the problem is, here is my coding.
Index
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<LINK REL="SHORTCUT ICON" HREF="images/icon.ico">
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="" />
<meta name="Description" content="" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>TEST</title>
</head>
<body>
<div id="main">
<div id="upload">
<a href="#"><img src="images/uploadbutton.png" title="Upload your own game"></a>
</div>
<div id="login">
<form action='login.php' method='POST'>
<input type='text' name='username' class='textbox' value="Username" onfocus="this.value=''" />
<input type='password' name='password' class='textbox' value="Password" onfocus="this.value=''" />
<a href="#" id="loginbutton"><img src="images/loginbutton.png"/></a>
<a href="#" id="register">register</a>
</form>
<div id="or" style="width: 80px;">
or
</div>
</div>
</div>
<div id="Copyright">
Copyright © 2012 yourwebsite.com. All rights reserved.
</div>
</body>
</html>
CSS
body {
background-image:url('images/background.jpg');
background-repeat:repeat;
}
#main {
border:1px solid black;
background-color:white;
height:900px;
width:800px;
position:relative;
left:90px;
border-radius: 5px;
}
#Copyright {
border:1px solid black;
background-color:white;
font-weight:bold;
position:relative;
top:-22px;
left:90px;
width:800px;
text-align:center;
}
#menuheader{
border:1px solid black;
height:35px;
width:200px;
background-color:black;
color:white;
font-family:Comic Sans MS;
font-size:20px;
text-align:center;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
position:relative;
top:31px;
left:30px;
}
#upload {
position:relative;
top:90px;
left:600px;
width: 120px;
height: 28px;
}
a img
{
border:none;
}
/* this is to change the login textbox */
.textbox {
height:15px;
width:120px;
color:gray;
padding:5px;
}
/* this is to move the login */
#login {
position:relative;
left:430px;
top:-10px;
width: 279px;
}
#loginbutton {
position:relative;
left:280px;
top:-29px;
}
/* this is to move the register link */
#register {
position:relative;
top:-10px;
left:220px;
}
#or {
position:relative;
left:290px;
top:-30px;
}
it won't let you click register for some reason. When i put the register link some where else then it lets you click it. I don't get what the problem is, here is my coding.
Index
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<LINK REL="SHORTCUT ICON" HREF="images/icon.ico">
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="" />
<meta name="Description" content="" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>TEST</title>
</head>
<body>
<div id="main">
<div id="upload">
<a href="#"><img src="images/uploadbutton.png" title="Upload your own game"></a>
</div>
<div id="login">
<form action='login.php' method='POST'>
<input type='text' name='username' class='textbox' value="Username" onfocus="this.value=''" />
<input type='password' name='password' class='textbox' value="Password" onfocus="this.value=''" />
<a href="#" id="loginbutton"><img src="images/loginbutton.png"/></a>
<a href="#" id="register">register</a>
</form>
<div id="or" style="width: 80px;">
or
</div>
</div>
</div>
<div id="Copyright">
Copyright © 2012 yourwebsite.com. All rights reserved.
</div>
</body>
</html>
CSS
body {
background-image:url('images/background.jpg');
background-repeat:repeat;
}
#main {
border:1px solid black;
background-color:white;
height:900px;
width:800px;
position:relative;
left:90px;
border-radius: 5px;
}
#Copyright {
border:1px solid black;
background-color:white;
font-weight:bold;
position:relative;
top:-22px;
left:90px;
width:800px;
text-align:center;
}
#menuheader{
border:1px solid black;
height:35px;
width:200px;
background-color:black;
color:white;
font-family:Comic Sans MS;
font-size:20px;
text-align:center;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
position:relative;
top:31px;
left:30px;
}
#upload {
position:relative;
top:90px;
left:600px;
width: 120px;
height: 28px;
}
a img
{
border:none;
}
/* this is to change the login textbox */
.textbox {
height:15px;
width:120px;
color:gray;
padding:5px;
}
/* this is to move the login */
#login {
position:relative;
left:430px;
top:-10px;
width: 279px;
}
#loginbutton {
position:relative;
left:280px;
top:-29px;
}
/* this is to move the register link */
#register {
position:relative;
top:-10px;
left:220px;
}
#or {
position:relative;
left:290px;
top:-30px;
}