简体   繁体   中英

How to display web content correctly even if the browser is not maximized?

My problem is that my web site's content (design) "breaks" when it's not maximized ...

I want it to be like most of the others web sites (eg facebook) ...

So when the site is not maximized, that the design don't fall apart, but instead it stay "static" no matter how much I change the height/width of the browser manually.

Does anyone have an idea (I'm looking for some code :D) ?

Regards,

You might want to look into a css framework like bootstrap. If you follow their styles you get a lot of responsive resize features for free.

http://getbootstrap.com/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM