Chrome - overflow='auto'

Posted on 2010-08-25
Last Modified: 2013-12-07
I have a WEB site (WEB application) that is a table of boxes (<table><tr><td>...)
In several boxes there are "grig tables" that may have many lines.
I don't want the boxes to expand so I set it as'auto';

I works very weel in IE - when there are more lines then it can hold it adds a vertical scrollbar.
But in Chrome (and FireFox) it does not add the scrollbar and expands the box height.

Question by:VapiSoft
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
LVL 40

Expert Comment

ID: 33522366
you need to give overflow:scroll

if doesn't work, then also try adding

Author Comment

ID: 33522954
I tried all but nothing works.

Author Comment

ID: 33523306
I checked it with firburg (for firefox) and what I see that although I do;
the width="100%".
So I understand that this is not the way to set the height.
Scamming the Scammers!

Have you ever heard of Scam Baiting?
It's a highly entertaining sport that you can participate in.
Introduction to beating scammers at their own game and how you can help
Share your thoughts, ideas and experiences on the topic.
Links to top Anti-Scam resources provided.

LVL 40

Expert Comment

ID: 33523751
check for the typo here, it should be;


Author Comment

ID: 33523935
I don't see any difference between what I wrote and what you wrote.
I don't see any typo.
LVL 40

Accepted Solution

gurvinder372 earned 500 total points
ID: 33523976
hmm..i was referring to what you wrote in original question.

If you are setting the height to a cell or a row of a table you can do it by
obj.setAttribute("height", "155px");
LVL 54

Expert Comment

ID: 33524136
The expert showed this in the example but to emphasize your height needs units.  Most likely pixels. = 155px;bol

Author Comment

ID: 33524147
I found out that the problem is in another place that afterwards I change the the heigth="100%".
I am sorry and I will give you the points for trying to help.

Author Closing Comment

ID: 33524162
As I wrote, it was my mistake.
LVL 40

Expert Comment

ID: 33524215
Thanks for the points :)

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question