common Posted June 6, 2009 Share Posted June 6, 2009 Hi everyone I was wondering how to make a layout that fits to all screen resolutions? For example it doesn't matter if you have a 15'' or 17'' monitor, facebook's website is always over the whole screen and it does not give a left to right scrollbar? How do you do that? Thanx Quote Link to comment https://forums.phpfreaks.com/topic/161173-layout/ Share on other sites More sharing options...
gevans Posted June 6, 2009 Share Posted June 6, 2009 You should really be asking in this in an html/css forum. The style of the page has nothing to do with php (server side). Quote Link to comment https://forums.phpfreaks.com/topic/161173-layout/#findComment-850514 Share on other sites More sharing options...
.josh Posted June 6, 2009 Share Posted June 6, 2009 <style type="text/css"> .someClass { width: 100%; } </style> <div class="someClass"> content here </div> Quote Link to comment https://forums.phpfreaks.com/topic/161173-layout/#findComment-850520 Share on other sites More sharing options...
Axeia Posted June 6, 2009 Share Posted June 6, 2009 If you're having problems finding good search results try the search term "Liquid design" which refers to percentage based layouts as opposed to fixed width designs. Quote Link to comment https://forums.phpfreaks.com/topic/161173-layout/#findComment-850573 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.