I'm having huge trouble trying to figure out how to make my webpage make full use of the resolutions for the monitor being viewed.
Exactly like Newegg.com.
I view their page on a 1024 resolution, and I have another monitor that has 1280x1024 resoultion, the page full fills both screens.
Any one know where I can obtain this script?
Cheers,
Jim
Page 1 of 1
Webpage Adjust To Resolution To Monitor Auto Non-Fixed size webpage
#2
Posted 16 March 2006 - 09:27 PM
Did you perhaps view the source of the page to see what it is that they did? I have stol... um borrowed lots of things that way.
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens
#3
Posted 17 March 2006 - 11:08 AM
groovicus, on Mar 16 2006, 09:27 PM, said:
Did you perhaps view the source of the page to see what it is that they did? I have stol... um borrowed lots of things that way. 
Lol. I've already been looking through with the NotePad. Not sure what to look for.
I tried "width 100%" but didn't seem to work. Also something with "page ID"
~VAIO~
#4
Posted 17 March 2006 - 11:14 AM
You are looking for a bit of code, probably javascript that says something like "get resolution", or getScreenWidth" or something like that.
Width 100% should make whatever it is that you are doing fill the entire width though. If it isn't working, then you may have a typo in your html.
Width 100% should make whatever it is that you are doing fill the entire width though. If it isn't working, then you may have a typo in your html.
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens
#5
Posted 31 March 2006 - 07:08 AM
Hello,
I know it is belated, but here is my two cents anywho.
Using CSS, with a 28px x 1200px (width x height) image for my background, I was able to click the edge of the screen and drag the screen all the way, centering all my contents. My horizontal navbar also used a repeating background to auto-size to the resolution of a given users screen, and it also expanded the entire width of the two monitors. I must say though, if the page is small, the results are quit humerous.
I also have two monitors, with different resolutions and both screens were filled totally. Showing people this always manifests, oooh's and aaaah's. As far as a script or server side include im sure there is one out there somewhere, but it can be accomplished with CSS and XHTML.
nos
I know it is belated, but here is my two cents anywho.
Using CSS, with a 28px x 1200px (width x height) image for my background, I was able to click the edge of the screen and drag the screen all the way, centering all my contents. My horizontal navbar also used a repeating background to auto-size to the resolution of a given users screen, and it also expanded the entire width of the two monitors. I must say though, if the page is small, the results are quit humerous.
I also have two monitors, with different resolutions and both screens were filled totally. Showing people this always manifests, oooh's and aaaah's. As far as a script or server side include im sure there is one out there somewhere, but it can be accomplished with CSS and XHTML.
nos
When I'm right, I'm right....
And when I'm wrong, I could have been right....
So I'm still right, cause I could have been wrong.
And when I'm wrong, I could have been right....
So I'm still right, cause I could have been wrong.
Share this topic:
Page 1 of 1

Help


Back to top










