|
-
Cookiecutter Shark
Making a website adjust width/height in varying resolutions?
How do i get a website to change its dimensions depending on what the users monitor resolution is? So i could have the page fill the browser window from resolutions from 640*480 up to 1280*1024?
Many thanks. 
------------------
When torrents of tears flood down your face,
When you're feeling low and life's a disgrace,
Looks back to the good old days of life,
Before you make the slit with the cold silver knife,
When life has no meaning and you don't want to stay,
Remember my friends, it's better to burn out then to fade away...
-
Ursus Arctos Moderatis
How exactly do you want the web site to "form-fit" these resolutions?
-Do you want to dynamically resize the browser window?
or
-Do you want the content of your page to fill the window regardless of resolution?
#1 is easily done with some JavaScipt.
#2 is easily done by using 100% as table widths.
-
Cookiecutter Shark
-
do u mean like:
<table width="100%" height="100%">?
this can be done with cells too...and with images:
<img src="blah.gif" height="10%" width="10%">
------------------
Come to http://defunktfour.com!!!
-
Hammerhead Shark
Scuttle, they are correct -- use percentages that add up to 100...
Lets say I need a navigation bar down the left, some spacing, and two data columns... I'd use something like these percentages:
18% 2% 40% 40%
Which makes it expand and shrink with the size of the browser.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|