Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Horizontal Layout Problem Driving Me Nuts! Re: Horizontal Layout Problem Driving Me Nuts!

#58588
vincent
Member

I never really use % as a width or height thing anymore. I don’t know if it works well with floats. I think most people just design at a width of no more than 960px, then just center that. So, you have white space on both sides of the layout and if someone has a low resolution, your website just takes up the whole page. There are min-height/width and max-height/width properties, I don’t know if that would help any, but the css for those is:

min-height: 300px;
min-width: 300px;
max-height: 300px;
max-width: 300px;