开发者

textbox size issue in safari 4

If I give the textbox size as 2, textbox is displaying of size 2 in all b开发者_运维技巧rowsers.

<input type="text" size="2" name="day" />

But in safari 4, the size is less than 2. It means only 1 character is showing in textbox.

thanks in advance.


when page loads try to find out in which browser it is currently running(Using javascript). then based on the browser give the size property of text box using javascript

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜