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 wOOdy-Soft 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
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

____________________________________________________
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

onpnt2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top