TeddyKiller Posted April 17, 2010 Share Posted April 17, 2010 If a 17" Monitor can carry up to 1200px on its browser, would lets say.. a 12" monitor carry the same? I overall question is, is the ammount of pixels on one size pc/laptop monitor.. the same on another size? If not, then my site is just as good at 80% width. Problem with this is.. browser resizing. It crashes out all the css. How can I stop this? Thing is.. 900px width, looks good on my monitor/browser, but for others.. it may not. I've seen some netbooks, and as the screen is small.. the page fits on perfectly, but doesn't have the grey sides (body color) Though this is the same for facebook. I'm just wondering if theres a fix.. that I can allow my site to be 80% of the browser, yet upon resize.. doesn't smash everything together. Cheers Quote Link to comment https://forums.phpfreaks.com/topic/198842-css-pixels-and-percentage-and-resizing-browser/ Share on other sites More sharing options...
haku Posted April 17, 2010 Share Posted April 17, 2010 set a min-width on the outermost container: #container { min-width:800px; } Quote Link to comment https://forums.phpfreaks.com/topic/198842-css-pixels-and-percentage-and-resizing-browser/#findComment-1043715 Share on other sites More sharing options...
TeddyKiller Posted April 17, 2010 Author Share Posted April 17, 2010 #container { min-width:800px; } Would that be the #wrapper div? (The div that contains everything inside) If so.. would I include that with the width:80% etc ? Quote Link to comment https://forums.phpfreaks.com/topic/198842-css-pixels-and-percentage-and-resizing-browser/#findComment-1043719 Share on other sites More sharing options...
haku Posted April 17, 2010 Share Posted April 17, 2010 Yes and yes. Quote Link to comment https://forums.phpfreaks.com/topic/198842-css-pixels-and-percentage-and-resizing-browser/#findComment-1043773 Share on other sites More sharing options...
TeddyKiller Posted April 17, 2010 Author Share Posted April 17, 2010 Well ok, it works. Though the textboxes don't like it. What styling can I use for them? Quote Link to comment https://forums.phpfreaks.com/topic/198842-css-pixels-and-percentage-and-resizing-browser/#findComment-1043790 Share on other sites More sharing options...
haku Posted April 18, 2010 Share Posted April 18, 2010 Am I supposed to understand what 'don't like it' means? Quote Link to comment https://forums.phpfreaks.com/topic/198842-css-pixels-and-percentage-and-resizing-browser/#findComment-1043983 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.