anybody knows how to hide border in HTML using Form or Input tag?
My Code as below:
<form name="timerform">
Your session will expired in
<input type="text" name="clock" size="7" value="5:00">
</form>
You can also use
input[type="text"] { border: none }
This is usefull when you have other input types, i.e. type="submit"
, but IE < 8 doesn't support type.
Check this with type and this without type.
Update: Also you can use as follows
<input style="border:none" type="text" name="clock" size="7" value="5:00">
Updated Demo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With