...

View Full Version : CSS Form problem



SirChick
12-22-2007, 12:46 AM
Forgive my noobness here but i am having difficulties with my login button on my form it's unclickable.. yet if i make it further down the page it suddnely becomes clickable.. so i duno whats happened there.... also i am trying to make the button wider but i don't know how ... this is my CSS & HTML relevant to it:

CSS:

#form {
position: absolute;
width: 100%;
height:36px;
text-align: center;
font-family: "Lucida Bright";
font-size: 26px;
font-weight:bold;
top: 200px;
left: 00px;
color: #000000;
}
#formfont {
position: absolute;
width: 100%;
height:36px;
text-align: center;
font-family: "Lucida Bright";
font-size: 18px;
text-decoration:underline;
font-weight:bold;
top: 233px;
left: -130px;
color: #000000;
}
#login{
position: absolute;
width: 100%;
height:36px;
text-align: center;
font-family: "Lucida Bright";
font-size: 19px;
text-decoration:underline;
font-weight:bold;
top: 130px;
left: -50px;
color: #000000;
}

My HTML:

<div id="formfont">
<u>Username</u> :<br><br>
<u>Password</u> :
</div>
<div id="form">
<form name="Loginform" method="POST" action="" id="Form1" onsubmit="return ValidateForm1(this)">
</br>
<input type="text" id="Editbox1" size="14" name="Username" value=""><br><br>
<input type="password" id="Editbox2" size="14" name="Password" value="" maxlength="15"><br><br>

<div id="login">
<input type="submit" id="Button1" name="Login" value="Login" style="width:75px">
</div>

</form>
</div>

GO ILLINI
12-22-2007, 03:31 AM
I copied the code and it worked fine. Send us a link to an example page. Also, What browser are you using?

-Adam

SirChick
12-22-2007, 03:40 AM
82.11.252.99/logintest.php

thats the url.


The form doesn't let me input text or let me press the login button for me.. does it for you?

I am using FireFox

jlhaslip
12-22-2007, 07:19 PM
I am getting a time-out error on that link and can't reach the page.

SirChick
12-22-2007, 10:15 PM
Yeah sos my pc is turned off. It'll be back up tomorrow when i am home.. its hosted on my local host you see. My bad.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum