简体   繁体   中英

The divs overlapping when minimizing the browser

This is my two divs:

在此处输入图片说明

This is the screen:

在此处输入图片说明

when I minimuse the browser, this overlapping happens

在此处输入图片说明

what should I do please?

To make it clear

the left div size is keep static even when I mimizie the browser, that is why the right div becoems over the left div

Edit2

when i tried Ruddy's solution, I got this:

在此处输入图片说明

好吧,它可以通过响应式设计完美解决,但是您可以尝试的一件事是对大多数html元素使用percents(%)来管理元素重叠问题,这可能会帮助您扩展某些范围,否则响应式网页设计是必要的解决方案!

Try min-width on the right hand container div.

Eg

min-width: 200px;

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