Click to See Complete Forum and Search --> : width


tiger66
06-12-2003, 04:48 PM
Hello
if I need to create 5 buttons that will cover the entire width of the browser. How much pixels should I use for the width of each button?

Thanks in advance

brendandonhue
06-12-2003, 04:55 PM
That would depend on the number of pixels on each persons screen.
Try setting the width to 20% instead

havik
06-12-2003, 08:47 PM
http://www.thecounter.com/stats/2003/May/res.php

As you can see the two most popular screen resolutions are 1024x768 and 800x600, but that's not to say that these two are the only two we need concern ourselves with. :D

Havik

PeOfEo
06-13-2003, 02:44 AM
use the % method above like brendandonhue mentions a % will resize to match the resolution but this leaves out the height. But the width will work just fine. You can make a header and footer with a background if they will work. Is the height important? If it is then you might need to redirect to different sized pages for different resolutions which means get ready for some java script! detect and redirect!