# Scrollbar doesn't show on the right place when using partial

**URL:** <https://www.ruby-forum.com/t/scrollbar-doesnt-show-on-the-right-place-when-using-partial/78455>\
**Category:** Rails\
**Created:** [March 8, 2006, 3:49pm UTC](https://www.ruby-forum.com/t/scrollbar-doesnt-show-on-the-right-place-when-using-partial/78455 "2006-03-08T15:49:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sayoyo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba8739/32.png) [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Post date:** [March 8, 2006, 3:49pm UTC](https://www.ruby-forum.com/t/scrollbar-doesnt-show-on-the-right-place-when-using-partial/78455/1 "2006-03-08T15:49:29Z")

</div>

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.

> **[Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos](https://www.yahoo.com/)**
>
> Latest news coverage, email, free stock quotes, live scores and video are just the beginning. Discover more every day at Yahoo!

* * *

Do You Yahoo!?  
Tired of spam? Yahoo! Mail has the best spam protection around

> **[Yahoo Mail - Organized Email](https://mail.yahoo.com/)**
>
> It's time to get stuff done with Yahoo Mail. Just add your Gmail, Outlook, AOL or Yahoo Mail to get going. We automatically organize all the things life throws at you, like receipts and attachments, so you can find what you need fast. Plus, we've got...

---

<div class="post-metadata">

**Author:** ![sayoyo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba8739/32.png) [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Post date:** [March 8, 2006, 3:49pm UTC](https://www.ruby-forum.com/t/scrollbar-doesnt-show-on-the-right-place-when-using-partial/78455/2 "2006-03-08T15:49:35Z")

</div>

On 3/8/06, Saiho Y. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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.

---

<div class="post-metadata">

**Author:** ![sayoyo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba8739/32.png) [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Post date:** [March 8, 2006, 5:51pm UTC](https://www.ruby-forum.com/t/scrollbar-doesnt-show-on-the-right-place-when-using-partial/78455/3 "2006-03-08T17:51:54Z")

</div>

Josh on Rails wrote:

> 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

---

<div class="post-metadata">

**Author:** ![sayoyo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba8739/32.png) [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Post date:** [March 8, 2006, 8:01pm UTC](https://www.ruby-forum.com/t/scrollbar-doesnt-show-on-the-right-place-when-using-partial/78455/4 "2006-03-08T20:01:13Z")

</div>

Yes, the partial is inside of a

, should I remove  
the ??? but since our css is “linked” with 
  
so it may cause some other problem…

— Josh on Rails [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> web
> 
> > * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](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.

> **[Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos](https://www.yahoo.com)**
>
> Latest news coverage, email, free stock quotes, live scores and video are just the beginning. Discover more every day at Yahoo!

* * *

Do You Yahoo!?  
Tired of spam? Yahoo! Mail has the best spam protection around

> **[\[object](https://mail.yahoo.com/)**
>
> \[object

---

<div class="post-metadata">

**Author:** ![sayoyo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba8739/32.png) [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Post date:** [March 8, 2006, 8:19pm UTC](https://www.ruby-forum.com/t/scrollbar-doesnt-show-on-the-right-place-when-using-partial/78455/5 "2006-03-08T20:19:56Z")

</div>

On 3/8/06, Saiho Y. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Yes, the partial is inside of a
> 
> , should I remove  
> the ??? but since our css is “linked” with 
>   
> 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.
