screen.deviceYDPI
モニタ画面の縦方向の解像度を示します。通常Macintoshでは72dpi、Windowsでは96dpiになります。このプロパティはWindows版Internet Explorer 6以降で利用できます。
構文
screen.deviceYDPI
例文
<html> <head> <title>screen.deviceYDPI</title> </head> <body> <script type="text/javascript"><!-- document.write(screen.deviceXDPI); // --></script> </body> </html>
関連記事
- screen.width
- screen.updateInterval
- screen.pixelDepth
- screen.logicalYDPI
- screen.logicalXDPI
- screen.height
- screen.fontSmoothingEnabled
- screen.deviceXDPI
- screen.colorDepth
- screen.bufferDepth
- screen.availWidth
- screen.availTop
- screen.availLeft
- screen.availHeight
スポンサーリンク