如何显示彼此相邻的div,以便它们在最小化时不会崩溃? [英] How to display divs next to each other so they don't collapse when minimized?

查看:65
本文介绍了如何显示彼此相邻的div,以便它们在最小化时不会崩溃?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,

我遇到了两个Div的问题,我的代码看起来像

Hello All,
I am struck in a problem with two Div(s), My code looks like

展开 | 选择 | Wrap | 行号

推荐答案

尝试右侧div中的min-width属性。
Try the min-width property in the right div.


向右侧div添加宽度。
Add a width to your right div.


抱歉,我认为我弄错了,我遇到的问题是当我最小化浏览器时。 Div right(Text)在Div Left(图像)下面。


我想要实现的是,当用户水平地最小化浏览器时。正确的div应该接近左边但不应该低于图像(它现在就是这样)


上面给出的解决方案不是我的问题,但他们仍然帮助我解决其他问题我无视的问题。
Sorry i think i got it wrong, problem i have is when i minimize my browser. Div right(Text) goes under Div Left(image).

What i want to acheive is, when user minimize the browser horizontally. right div should come close to left one but should never go below Image (which it does now)

Solution given above weren''t my problem but still they did help me in solving other problem which i was ignoring.


这篇关于如何显示彼此相邻的div,以便它们在最小化时不会崩溃?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆