Browser

Browser

From ThaiiS Note (Wiki)

Jump to: navigation, search

Contents

:Web_browser_usage_share

http://en.wikipedia.org/wiki/File:Web_browser_usage_share.svg http://www.w3counter.com/globalstats.php

Cross Browser Testing

http://browserlab.adobe.com

Browser visible area

ขอบเขตของ Browser ที่เป็นที่นิยมในปัจจุบัน ใช้สำหรับตรวจสอบขอบเขตในงานออกแบบ web ซึ่ง Capture จาก Broswer จริงโดยการติดตั้ง Browser ด้วย Virtual PC เหมาะสำหรับผู้ใช้ Ilustrator ในการออกแบบ หากใช้Photoshop ต้องตรวจให้แน่ใจว่า Place เข้าไปสัดส่วนถูกต้องไม่ถูกย่อขนาด ซึ่ง ใน photoshop ควรตั้งความละเอียดงานออกแบบ 72 dpi และมีพื้นที่งานใหญ่กว่าขนาดหน้าจอ browser ที่จะ place เข้าไป

That good for web designer, we capture from virture pc usefull if you design on illustrator

Fire Fox 3.5

800x600-FF3.5-XP
800x600-FF3.5-XP
1024x768-FF3.5-XP
1024x768-FF3.5-XP
1152x864-FF3.5-XP
1152x864-FF3.5-XP
1280x1024-FF-XP
1280x1024-FF-XP


IE 7 บน XP

800x600-IE7-XP
800x600-IE7-XP
1024x768-IE7-XP
1024x768-IE7-XP
1152x864-IE7-XP
1152x864-IE7-XP
1280x1024-IE7-XP
1280x1024-IE7-XP
1440x900-IE7-XP
1440x900-IE7-XP


IE 8 บน Windows 7

1920 x 1080 IE8 WIN7
1920 x 1080 IE8 WIN7


SAFARI 4 บน XP

800x600-SR4-XP
800x600-SR4-XP
1024x768-SR4-XP
1024x768-SR4-XP
1152x864-SR4-XP
1152x864-SR4-XP
1280 x 102 SR4 XP
1280 x 102 SR4 XP


Relate

good Links

browsersize.googlelabs.com


firefox

English Menu

  1. install http://releases.mozilla.org/pub/mozilla.org/firefox/releases/your version/win32/xpi/en-GB.xpi
  2. Address bar type about:config
  3. general.useragent.locale change frome th to en-GB

3.6

chrome

IE

Internet Explorer Application Compatibility VPC Image

Virtual PC 2007

Windows XP Mode

relate

css fix

*html #id{}
*html .class{}

Good Links

<!--[if lt IE 6]>
<style type="text/css">
#news {width:250px}
</style>
<![endif]-->
<!--[if lt IE 6]>
<link rel="stylesheet" type="text/css" href="/css/ie5.css">
<![endif]-->
 #news {
 padding:10px;
border:1px solid;
width:250px;
 w\idth:228px;
 }

Setting Div Height in IE6

height of 5px. If I set this very large, like 100px IE displays it ok, but at a small height, like 5px, it just stops shrinking. If you set font-size and line-height for that div so that they fit within the 5px, IE will probably display it as desired. Another option is

overflow:hidden

Rendering Mode Control

Image:Rendering Mode Control.png

All of this magic happens with a simple little meta tag:

<meta http-equiv="X-UA-Compatible" content="|" />

(Where | represents one of the modes below)

  • IE=5
<meta http-equiv="X-UA-Compatible" content="IE=5" />

This forces IE 8 to render the page in “Quirks” mode.

  • IE=7
<meta http-equiv="X-UA-Compatible" content="IE=7" />

This forces IE 8 to render the page using IE 7 Strict mode.

  • IE=EmulateIE7
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

This forces IE 8 to use the !DOCTYPE declaration in the page to determine the rendering mode.

  • IE=8
<meta http-equiv="X-UA-Compatible" content="IE=8" />

This forces IE 8 to display the page in Internet Explorer Standards mode.

  • IE=EmulateIE8
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />

This forces IE 8 to use the !DOCTYPE declaration in the page to determine the rendering mode.

  • IE=edge
<meta http-equiv="X-UA-Compatible" content="edge" />

This forces Internet Explorer 8 to render in the most recent mode. For instance; currently this would behave like using a value of IE=8, but when IE 9 is available that will be the mode that IE=edge will render in.