Resize Problems

  • ben_sigma
  • Beginner
  • Beginner
  • User avatar
  • Joined: Mar 12, 2008
  • Posts: 58
  • Loc: South Australia
  • Status: Offline

Post April 10th, 2008, 10:23 pm

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 10th, 2008, 10:23 pm

  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post April 10th, 2008, 11:27 pm

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. }
Let's leave all our *plum* where it is and go live in the jungle ...
  • jameson5555
  • Bronze Robot
  • Bronze Member
  • User avatar
  • Joined: Oct 02, 2007
  • Posts: 575
  • Loc: Phoenix, AZ
  • Status: Offline

Post April 11th, 2008, 3:12 pm

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.
phoenix web design

Post Information

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

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.