I downloaded a html with a CSS template. In the login form(where was initially placed the blue-button css works. I copied the same html code for button into another area and when I click on it doesn't work.
CSS
.blue-button {
display: inline-block;
vertical-align: top;
border: solid 1px #6d8794;
position: relative;
border: solid 1px #6d8794;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
behavior: url(css/PIE.php);
}
.blue-button span {
display: inline-block;
vertical-align: top;
border: solid 1px #6d8794;
position: relative;
border: solid 1px #a6bcc8;
background: #85a3b3 url("../images/blue-button-stripes.gif") repeat-x left top;
color: #fff;
line-height: 26px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
behavior: url(css/PIE.php);
}
.blue-button a, .blue-button input {
border: 0px;
padding: 0px 15px;
height: 26px;
color: #fff;
font-weight: bold;
font-size: 13px;
font-family: Helvetica;
text-shadow: 0px 1px #687b85;
text-transform: uppercase;
text-decoration: none;
cursor: pointer;
background: none;
}
.blue-button:hover a, .blue-button:hover input {
text-decoration: underline;
}
PHP
public function ShowLoginPanel()
{
$this->LoginContent=
' <div class="column-1-3">
<div class="white-box">
<div class="box-content fixed-height">
<form action="" method="post" class="contact-form">
<div>
<span class="blue-button"><span><input type="submit" value="SEND »" /></span></span>
</div>
<input type="hidden" name="val" value="checkin">
</div>
</form>
</div>
</div>
</div><!--/end .column-1-3 --> ';
}
When I click the button, the $_POST["val"] is set but when I use the same code in another unit(instance registration.php)
<div class="icon"><img src="images/register.png" alt="" /></div>
<input type="hidden" name="val" value="registration">';
the $_POST["val"] is unset and it doesn't do anything.
You can access my page from here http://tinyurl.com/pkw5wly In order to make a summary, my question is why in the loggin div the button works but in the registration div it doesn't work