Hello everyone,
Have a code that works well but I need it to open to the right on hover. Right now its going below the element and making my page look bad. Here is the code i have:
<style type="text/css">
.hide_img3 {
display: none;
}
.hide_img3 {
background: none repeat scroll 0 0 #333;
border: 1px solid #000000;
border-radius: 4px 4px 4px 4px;
color: #78C102;
height: 85px;
display: none;
position: relative;
margin-left: 12px;
margin-top: 0px;
width: 145px;
}
.myClass:hover .hide_img3
{
display:block
}
</style>
<div class="myClass">
<div>
<a class="show_img3" href="#"><span>Login</span></a><div class="hide_img3">
<form action="" method="post" name="login">
<input style="border-radius: 4px 4px 4px 4px;" type="text" placeholder="Username" />
<br />
<input style="border-radius: 4px 4px 4px 4px;" type="password" name="password" placeholder="Password" />
<br />
<input style="float:right" type="submit" value="Login" name="login" />
</form>
</div>
</div
I need for it to open to the right and not under it.
Thanks in advance!