Vertical scroll bar in HTML controls/elements/tags such as TEXTAREA and SELECT will be useful if the element has more content/items.
But always showing Vertical scroll bar will be occupying some space in the page unnecessarily.
So the best way is, showing the Vertical scroll bar dynamically only when the content exceeds a limit.
It can be achieved by specifying "overflow" as auto in the style.
(e.g)
<textarea style="overflow:auto"> some content</textarea>
Similarly we can specify overflow as hidden if we don't want to show the scrollbar.
It is working fine for Textarea in both IE and FireFox.
But it is not working for Select in FireFox.
Select tag in FireFox is showing scroll bar even when we specify overflow as hidden.
And also, we have noticed that it happens only when the number of items/options in the Select exceeds 20.
By searching the internet we came to know that there is no way to make it work properly other than some ineffective ways such as hiding the scroll bar using some div tags.
More Articles...
Trending: Do It Anyway | Websites Price List | 10 Facebook Tips | Ruby Payne-Scott Doodle 
Wednesday, April 29, 2009
Subscribe to:
Post Comments (Atom)
Popular Posts - This week
-
New: 2012 Plus Two Exam Results +2 Exam Results were declared in TamilNadu for the HSC (Higher Secondary)Exams held in March 201...
-
Tamilnadu Directorate of Government Examinations has announced the +2 Results today.(May 22nd, 2012) Nearly 7.5 lakhs students in Tamil N...
-
Find below MCQ (Multiple Choice) questions and Answers useful for learning Computer Hardware. You can attend our Quiz here. We have alre...
Popular Posts - All Time
-
Find below MCQ (Multiple Choice) questions and Answers useful for learning Computer Hardware. You can attend our Quiz here. We have alre...
-
Find below MCQ (Multiple Choice) questions and Answers useful for learning HTML. You can attend our Quiz here. We are working on to publ...
-
Find below MCQ (Multiple Choice) questions and Answers useful for learning Software Testing. You can attend our Quiz here. eBook for lear...
-
1)What type of devices are CDs or DVDs? a) output b) storage ...
-
Find below MCQ (Multiple Choice) questions and Answers for PHP. You can attend our Quiz here. We are working on to publish more quest...
-
In my previous post I have explained the importance of doing Link Exchange to boost Search Rank our web pages in Search Engines such as G...
-
This is the Guest post from Barbara Young . You can read the Guidelines if you are interested in writing Guest posts. Here’s a...
-
One of our Customers wants to have Auto Suggestion similar to Google search in the Search input of his website. So, I referred this ar...
-
Find below MCQ (Multiple Choice) questions and Answers useful for learning Javascript. You can attend our Quiz here. We are working on t...
-
New: 2012 Plus Two Exam Results +2 Exam Results were declared in TamilNadu for the HSC (Higher Secondary)Exams held in March 201...
Useful Links
- Randi Zuckerberg
- Memory Game
- Do it Anyway Poem
- Heello
- RtoZ Media
- Motivational Quotes
- Google One Pass
- verizon iphone manual download
- Social Networking Sites List
- Best Motivational Quotes Video
- Social Media News
- QTP Book
- QTP eBook - An eBook about Software Testing and QTP Automation
- See Latest Doodle published by Google in Home Page for representing Special days
- php reference - Get everything you need to learn in php
- Learning web in very easy and simple way. Starting point for learning web...
News
Tech News Software Testing News News about Google Business News
Medical News Tamil News News Archive








0 comments:
Post a Comment