Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Screen Resolution

Status
Not open for further replies.

Craigii

Programmer
Feb 11, 2003
40
0
0
US
Is there anyway to retreive a users screen resolution to determine the size of font to display on a website? Any suggestions would be greatly appreciated.
 
vbscript and javascript both treat the screen.width/.height methods the same. So saying
<script language=&quot;vbscript&quot;>
alert screen.width

and/or
<script language=&quot;javascript&quot;>
alert screen.width

will equate to the same value

____________________________________________________
[sub]The most important part of your thread is the subject line.
Make it clear and about the topic so we can find it later for reference. Please!! faq333-3811[/sub]
onpnt2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top