Archive

Archive for the ‘Simple CSS Code’ Category

How to overcome the browser autocomplete?

If the application have the auto-complete (auto-suggest) functionality, then first time when i am type a character then some text auto suggestion will appear, from the next time when i am trying to enter the same test then browser auto-complete is working along with the our auto-complete. To avoid that problem add the following code in the text box:

<input type=”text” name=”userName” autocomplete=”off”/>

Hope it will be useful.

Categories: Simple CSS Code

How to remove the scroll in textarea?

Hi friends,

Here following code will add to styles of text area, that removes the scrolling of that one.

Because in firefox browser we can not visible the scoll but in IE we will get the scrolling , so i am facing most of the sites, for the sake of another person like me dont want to waste time on searching on this.

**********************************

overflow-x:hidden; overflow-y:hidden;

**********************************

Add that lines for text area.

*****************************

<textarea cols=”20″ rows =”20″ style =” overflow-x:hidden; overflow-y:hidden;”></textarea>

*******************

Hope this will be useful

Categories: Simple CSS Code