I have a page with a form that is longer than the page view. Yet there is no scroll bar. How can I get one? Thanks, Aditya -- Posted via http://www.ruby-forum.com/.
use the css property overflow. overflow: scroll; or overflow: auto; -Ben Lisbakken On Jul 25, 2006, at 12:33 PM, Aditya Rajgarhia wrote:> I have a page with a form that is longer than the page view. Yet there > is no scroll bar. How can I get one? > > Thanks, > > Aditya > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Ben, Thanks for the reply. What if I want all pages in my project to NOT have scroll bar except one? What I''ve done is to put "overflow: hidden;" in the body selector of the CSS file. Also, the page which needs the scroll bar uses the same rails layout. Any clue how to solve this? -Aditya Ben Lisbakken wrote:> use the css property overflow. > > overflow: scroll; > or > overflow: auto; > > -Ben Lisbakken-- Posted via http://www.ruby-forum.com/.