Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

timmillwood

macrumors 6502a
Original poster
How do you make your web sites stretch and move for different screen resolutions, I usually just set tables to % but doesn't always work well.

Also how do you do it will images and backgrounds?
 
How do you make your web sites stretch and move for different screen resolutions, I usually just set tables to % but doesn't always work well.

Also how do you do it will images and backgrounds?

Some developers I know try to achieve the same effect by encouraging their targeted end-users to try a range of different 'substances' e.g. 'koolaid' - I've never managed to find out the efficacy of their methods though 😀
 
i know what CSS is and i know it can be used but how?
For a centered layout, no matter the browser size, you need to create a "wrapper" that all other code will go in. To keep it fluid, just enter a % in wherever width is defined.
Code:
#wrapper {
margin-left: auto;
margin-right: auto;
width: 825px;
}
It should work just fine, although, there's a lot more involved to make the complete site, it's a start! 😉
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.