Saiho Yuen
2006-Mar-08 14:46 UTC
[Rails] scrollbar doesn''t show on the right place when using partial( )
Hi, I''m using partial() to connect ours pages togother, however, one of the partials is larger than the other, when it happens, instead of create a scrollbar on the browser, a scrollbar appears at the end of the partial, since the partial is in the middle of the web site. it isn''t really good... So does some one know how to remove the scrollbar on the partial and put it on the browser? Thanks you very much Saiho The mind is its own place, and in itself. Can make a Heaven of Hell, a Hell of Heaven. http://www.geocities.com/sayoyo/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Josh on Rails
2006-Mar-08 14:48 UTC
[Rails] scrollbar doesn''t show on the right place when using partial( )
On 3/8/06, Saiho Yuen <sayoyo@yahoo.com> wrote:> > I''m using partial() to connect ours pages togother, > however, one of the partials is larger than the other, > when it happens, instead of create a scrollbar on the > browser, a scrollbar appears at the end of the > partial, since the partial is in the middle of the web > site. it isn''t really good... So does some one know > how to remove the scrollbar on the partial and put it > on the browser? >That isn''t something that normally happens with partials, you must be wrapping the partial in some kind of div/stylesheet. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060308/3903c362/attachment.html
Ben Munat
2006-Mar-08 16:51 UTC
[Rails] scrollbar doesn''t show on the right place when using partial( )
Josh on Rails wrote:> On 3/8/06, *Saiho Yuen* <sayoyo@yahoo.com <mailto:sayoyo@yahoo.com>> wrote: > > I''m using partial() to connect ours pages togother, > however, one of the partials is larger than the other, > when it happens, instead of create a scrollbar on the > browser, a scrollbar appears at the end of the > partial, since the partial is in the middle of the web > site. it isn''t really good... So does some one know > how to remove the scrollbar on the partial and put it > on the browser? > > > That isn''t something that normally happens with partials, you must be > wrapping the partial in some kind of div/stylesheet.Yeah.... look for a style "overflow: scroll;"... You might need to rethink how you''re positioning stuff in your page too; fixed sizes can be problematic. b
Saiho Yuen
2006-Mar-08 19:00 UTC
[Rails] scrollbar doesn''t show on the right place when using partial( )
Yes, the partial is inside of a <div>, should I remove the <tag>??? but since our css is "linked" with <div> so it may cause some other problem... --- Josh on Rails <rails@thewehners.net> wrote:> On 3/8/06, Saiho Yuen <sayoyo@yahoo.com> wrote: > > > > I''m using partial() to connect ours pages > togother, > > however, one of the partials is larger than the > other, > > when it happens, instead of create a scrollbar on > the > > browser, a scrollbar appears at the end of the > > partial, since the partial is in the middle of the > web > > site. it isn''t really good... So does some one > know > > how to remove the scrollbar on the partial and put > it > > on the browser? > > > > That isn''t something that normally happens with > partials, you must be > wrapping the partial in some kind of div/stylesheet. > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >The mind is its own place, and in itself. Can make a Heaven of Hell, a Hell of Heaven. http://www.geocities.com/sayoyo/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Josh on Rails
2006-Mar-08 19:17 UTC
[Rails] scrollbar doesn''t show on the right place when using partial( )
On 3/8/06, Saiho Yuen <sayoyo@yahoo.com> wrote:> > Yes, the partial is inside of a <div>, should I remove > the <tag>??? but since our css is "linked" with <div> > so it may cause some other problem... >I think you need to have a chat with your designer / whoever wrote your stylesheets, and figure out how this element is supposed to be styled. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060308/46715d8c/attachment.html