Sent by Allen J. Bennett on 13 April 2008 07:07
I want to read the user's screen resolution, and adjust the width of images depending on the result.
Is this possible? I started this way, but it seems not to be working (even when I did define [as a
static number, to start] IconWidth); I have NO idea how, or where, to define it. When I get it
working with a static number, then I have to figure out how to read the screen resolution. I haven't
used either VBScript or CSS (and was never very good at either) in quite a while, so everything
might seem quite strange. In case you need to see what this attaches to, the site name is
http://AffiliateDreams.com/Welcome.html. Thank you very much.
Allen J. Bennett
Body {background: #F1EB98; font-weight: bold;};
H1 {Color:Red; text-align: center;};
H2 {Color:Blue; text-align: center};
H3 {Color:Red; text-align:center;};
a {background-color: #F1EB98;};
img {width = IconWidth; height = 86;}
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/