Maybe I could've picked a different, possibly more appropriate NG, but I'm
not sure.
I'm sure I'll get a decent answer from those in this NG though.
When creating a web site, taking into consideration different resolutions,
is it best and/or industry standard to use pct. for images or create
something like...
if (screen.height >= 768 && screen.width >= 1024) {
document.write( "<img src='http://your-web-site-address-here.com/image.gif'
width=850 height=11 border=0>");
}
else {
if (screen.height == 600 && screen.width == 800) {
document.write( "<img src='http://your-web-site-address-here.com/image.gif'
width=600 height=11 border=0>");
}
else {
document.write( "<img src='http://your-web-site-address-here.com/image.gif'
width=475 height=11 border=0>");
.... etc.
I know there are many more resolutions, so that's one of the reasons why I
ask.
The main page of the site is an image, well mostly an image. with just a few
links (horizontally) at the bottom. This should all fit into one page.
If not the appropriate NG, I'm sure someone will kindly let me know,
Thanks,
Michael
not sure.
I'm sure I'll get a decent answer from those in this NG though.
When creating a web site, taking into consideration different resolutions,
is it best and/or industry standard to use pct. for images or create
something like...
if (screen.height >= 768 && screen.width >= 1024) {
document.write( "<img src='http://your-web-site-address-here.com/image.gif'
width=850 height=11 border=0>");
}
else {
if (screen.height == 600 && screen.width == 800) {
document.write( "<img src='http://your-web-site-address-here.com/image.gif'
width=600 height=11 border=0>");
}
else {
document.write( "<img src='http://your-web-site-address-here.com/image.gif'
width=475 height=11 border=0>");
.... etc.
I know there are many more resolutions, so that's one of the reasons why I
ask.
The main page of the site is an image, well mostly an image. with just a few
links (horizontally) at the bottom. This should all fit into one page.
If not the appropriate NG, I'm sure someone will kindly let me know,
Thanks,
Michael
Comment