Question : Chrome - overflow='auto'

Hi,
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
obj.style.overflow='auto';
and
obj.style.hieght=155;

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.

 

Answer : Chrome - overflow='auto'

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");
Random Solutions  
 
programming4us programming4us