How to set readonly property of textbox from css.
Posted
by Muhammad Sajid
on Stack Overflow
See other posts from Stack Overflow
or by Muhammad Sajid
Published on 2010-03-27T07:04:28Z
Indexed on
2010/03/27
7:13 UTC
Read the original article
Hit count: 233
css
i create css code like
.inputHide {
font-size : 100px;
width : 100px;
height : 100px;
border : none;
background : transparent;
readonly : true;
}
But it does not work. Although if i use font-size of 1px then by using tab i can access that textbox & can change it's value.
Is there any way to make textbox readonly just using css..
© Stack Overflow or respective owner