开发者

When the browser is zoom out, my web page looks bad!. Why?

开发者 https://www.devze.com 2022-12-15 18:23 出处:网络
When I use zoom out in Internet Explorer, the page zooms out but not as uniform. It looks ugly. What is the reason for that? Help me plz

When I use zoom out in Internet Explorer, the page zooms out but not as uniform. It looks ugly. What is the reason for that? Help me plz

After Zoom out (look at the thr开发者_C百科ee boxes):

http://www.flickr.com/photos/41695354@N08/4233473080/


Here is a nice article

Page Zoom, Elastic Layouts & Em (Erratic Moustaches)

and read

Why browser zoom shouldn’t kill flexible layouts

Web Browser Zoom: Design consequences


There are two different zoom modes.

Font zoom, this resizes the font size and all elements that are coupled with it.

Full page zoom, resizes the whole page and all elements. Only supported in modern browsers.

In your case I believe it's the font zoom that affects all sizes given in em. That means some elements on your page get resized and others not.

The simplest way around it is to give all dimensions in em instead of px, cm, pt.

0

精彩评论

暂无评论...
验证码 换一张
取 消