can you guide me how to make a webpage using DIVs work in any screen resolutions screens the page should perfectly fit to any sizes 800x640 1024x768 1280x800
1) make it to the lowest resolution... higher res. will see a lot more blank screen space 2) make it fluid (precentage, ems based) 3) make 3 diffrent layouts (css files) and use a screen res detection script to load the appropriate file
A fluid design will accomodate a range of screen resolutions. It wont be perfect, but it IS better then an 800x600 user looking at a site optimized only for 1280x800. Using percentages, you can strecth areas instead of making them a static number all the time like. 30px. Instead with fluid you would do something like 10%. In this way your site will use 10% of the webspace for any resolution size. Say you have a banner. Its 100px wide, it has a main logo at the top, and a complex fade in the background. With a liquid design, instead of making a div for 100px....then high end users get screwed...you code it with percentages, so the rest of the space still gets used even with a repeating fade background and STILL centering the main logo correctly. Make sense? Hopefully this explains a bit.