Scrollbar Mystery

  • mrking
  • Beginner
  • Beginner
  • mrking
  • Posts: 46

Post 3+ Months Ago

Hi Guys,

I am not sure of this problem, have been googling for a very long time for the solution.

Basically what I want to achieve is to have the scrollbar in the middle when window resize just like google maps("http://maps.google.com/"). Try resizing your browser window vertically and you will see the scrollbar somewhere at the center of the page.

It seems to be really easy but I have tried analyzing the UI with firebug, inserting div, messing with css etc. but it all dosen't work. Maybe I do it the wrong way but anyhow, hope someone can help solve this.

Thanks
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

CSS Code: [ Select ]
div#something
{
overflow:auto;
min-width:200px;
min-height:200px;
}
  1. div#something
  2. {
  3. overflow:auto;
  4. min-width:200px;
  5. min-height:200px;
  6. }

if the div gets any smaller that 200px (wide or high) it gets scrollbars

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 65 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.