Resize Problems

  • ben_sigma
  • Beginner
  • Beginner
  • User avatar
  • Posts: 58
  • Loc: South Australia

Post 3+ Months Ago

Hi i am playing around with a website and want to know how sites like Myspace when the window is resized dont have problems with their content becoming clustered. My content bunches together. Theirs stays the same and the window gets scroll bars. Any help would be appreciated.
  • 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

that is done by defining a minimum size to a container/element. with something like:
Code: [ Select ]
div#container
{
width:100%;
min-width:760px;
}
  1. div#container
  2. {
  3. width:100%;
  4. min-width:760px;
  5. }
  • jameson5555
  • Bronze Robot
  • Bronze Member
  • User avatar
  • Posts: 575
  • Loc: Phoenix, AZ

Post 3+ Months Ago

Then you can add this line, since IE6 doesn't understand min-width:
Code: [ Select ]
* html body #container{width:760px;}

That way, IE6 users just get a fixed width.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 33 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.