Last post May 20, 2008 11:13 AM by JamesSAEP
May 05, 2008 02:37 PM|JamesSAEP|LINK
Using TBH and the TemplateMonster theme, how can I limit how wide the site will get in the browser? I don't want the site to get any wider than 1200 px wide.
I have tried putting max-width: 1200px in the css body tag, but the rightcolumn div is not limited.
May 05, 2008 04:25 PM|ashrafur|LINK
May 13, 2008 11:51 AM|JamesSAEP|LINK
Thank you for the reply. I tried your solution, but it has a problem. The "width:1200px;"
makes the page 1200px wide on loading, no matter what the width is of the browser. So, if a browser is set to only 800px wide, there will be a scroll bar on the bottom to see the remaining 400px of data on the right side of the page.
What I want to do is have the page load with a width of what ever the browser is set to, with a maximum width of 1200px. So, if the browser is set to 800px wide, the webpage will only render at 800px. If the browser is set to 1024px wide, the webpage
will render at 1024px wide. If the browser is set to 1600px wide, the webpage will only render to 1200px wide.
May 20, 2008 11:13 AM|JamesSAEP|LINK
I finally fixed this by making a "wrapper" div and using "max-width: 1200px" in the css.