Home › Forums › CSS › What’s The Best Way to Make A Website Fit on 1024×768 Resolution? › Re: What’s The Best Way to Make A Website Fit on 1024×768 Resolution?
January 28, 2013 at 12:06 pm
#122596
Member
OK…Frankly the structure leaves a lot to be desired but I guess the real question is …
>Why is 1024px important?
If that is the maximum width that you want your centered content to be then it’s relatively simple. You set the wrapper element to have:
width:100%;
max-width:1024px;
What you WILL have to do is adjust all of the fixed pixel widths of any sub-elements to percentages of 1024px.
That’s the quick and dirty answer. I’m not going to get into responsive images / iframes etc.
You also might want to think about moving the headercontent div actually into the header div.