Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
69
rated 0 times [  76] [ 7]  / answers: 1 / hits: 78401  / 11 Years ago, mon, february 3, 2014, 12:00:00

I am having a project in which I want to show one log out button at the right-corner of my website.



I am using following code which doesn't work properly.



<form align=right name=form1 method=post action=log_out.php>
<label>
<input name=submit2 type=submit id=submit2 value=log out>
</label>
</form>

More From » css

 Answers
11

You can do it using css as below:



Css:



.logoutLblPos{

position:fixed;
right:10px;
top:5px;
}


//html



<form align=right name=form1 method=post action=log_out.php>
<label class=logoutLblPos>
<input name=submit2 type=submit id=submit2 value=log out>
</label>
</form>

[#72775] Saturday, February 1, 2014, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
malkajillc

Total Points: 652
Total Questions: 107
Total Answers: 98

Location: Finland
Member since Sat, Nov 6, 2021
3 Years ago
malkajillc questions
;