Click here to Skip to main content
15,919,931 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am developing a simple application using HTML and Javascript / CSS. I have a div container in HTML code and I have set its style in my css file as follows:

HTML
<html>
<head>
</head>
<body>
<div id="container">
</div>
</body>
</html>

CSS Style

.container
{
height:150px;
width:100%;
position:relative;
overflow:auto;
}


I am filling div container on runtime. When the content goes outside the container, an automatic scroll bar appears on browser, but same is not happening on blackberry. My blackberry software version is 6.0 and above....

Please help. This annoying problem is eating away my whole precious time.....
Posted
Updated 26-Jul-12 19:39pm
v2
Comments
enhzflep 27-Jul-12 3:09am    
Have had the same problem with an android. The database is busted now, so I can't test it - but I had a web-app that would turn it's scrollbars on/off itself so that it could alter the width of the container by about 16px when the scroll-bars were shown/hidden, in order to maintain a page that didn't get wider/narrower based on the height of the content in the scrolling container.
Perhaps it's an idea worth considering?

1 solution

Not so long ago I've made a web page and I've been able to see that IE is not so "standard" (whatever this means) so I asked for help here and CPians told me to use firefox and some extensions like firebug, NoScript and Page Speed to check and improve my page.

After doing that I was able to find out a lot of small bugs and at the end my page can be seen even in my blackberry device perfectly.

I would go that path...

Good luck.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900