|
Posted by pbx on 01/06/07 19:31
tried:
style="width:100%;overflow:scroll;overflow-y:visible;overflow-x:scroll;"
unfortunately it doesn't change anything obvious.
does it matter than the contents of the div is a table?
BootNic wrote:
> > pbx <pbeisel@gmail.com> wrote:
> > news: 1168104852.331713.245540@51g2000cwl.googlegroups.com
> > i have a div tag on my html page as follows:
> >
> > <div style="overflow-x:scroll;"> (or auto, makes no difference)
> >
> > the contents of the div are about 1500 pixels wide.
> >
> > in firefox, the div will get a horizontal scroller, fitting it nicely
> > within firefox's browser window
> >
> > in IE, however, no scroller will appear. the content will reach its
> > full 1500 pixels and the browser's scroll bar will appear.
> >
> > the firefox behavior is desired, i want the div to have a scroll not
> > the browser window to grow to accomodate the whole div.
> >
> > if i set the width to a defined number of pixels, however, IE will
> > provide a scroller. but i don't want to do this, since obviously the
> > code is generated on the server and i have no idea with width of the
> > user's browser window.
> >
> > btw, the "incorrect" behavior is showing itself in IE 7. using
> > firefox
> > 2.0.
> >
> > any workaround?
>
> style="width:100%;overflow:scroll;overflow-y:visible;overflow-x:scroll;"
>
> --
> BootNic Saturday, January 06, 2007 2:09 PM
>
> Assert your right to make a few mistakes. If people can't accept your
> imperfections, that's their fault.
> *Dr. David M. Burns*
[Back to original message]
|