是否有可能在彼此旁边有2个div并且没有环绕? [英] Is it possible to have 2 div beside eachother and one not wrap around?

查看:70
本文介绍了是否有可能在彼此旁边有2个div并且没有环绕?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能在彼此旁边有两个div并且一个没有环绕?


我意识到2个div是向左浮动但我只能想到这个

目前最好的解决方案。


我想把缩略图和大型家居渲染放在上面

not包装,只有内部/外部照片包装。

你推荐什么?

http://www.officeactivate.com/schuit/madison.shtml


谢谢。

Dan

Is it possible to have 2 divs beside each other and one not wrap around?

I realize the 2 div''s are floating left but I can only think of this as the
best solution for now.

I am trying to get the thumbnail photos and the large home rendering on top
not to wrap, and only the interior/exterior photos to wrap.
What do you recommend?

http://www.officeactivate.com/schuit/madison.shtml

Thanks.
Dan

推荐答案

我刚注意到在IE 6中这段代码似乎比Firefox 1.0更好。

好​​吧我做错了什么?


拉伸窗口时,Firefox有一些中间宽度

页面的底部而不是顶部,然后

以较小的宽度弹出......?。


Dan V. < d@d.com>在消息中写道

新闻:DL ******************** @gold.net ...
I just noticed that in IE 6 this code seems to work better than Firefox 1.0.
OK what did I do wrong?

When you stretch the window there are some middle widths that Firefox puts
the large home rendering at the bottom of the page instead of the top, then
pops back up at a smaller width...?.


"Dan V." <d@d.com> wrote in message
news:DL********************@golden.net...
是它可能有两个divs彼此相邻而一个没有环绕?

我意识到2个div是浮动的但是我只能认为它是
最好的解决方案现在。

我想把缩略图和大型家居渲染上面不要换行,只有内部/外部的照片来包装。
你是做什么的推荐?

http://www.officeactivate。 com / schuit / madison.shtml
谢谢。
Dan
Is it possible to have 2 divs beside each other and one not wrap around?

I realize the 2 div''s are floating left but I can only think of this as
the best solution for now.

I am trying to get the thumbnail photos and the large home rendering on
top not to wrap, and only the interior/exterior photos to wrap.
What do you recommend?

http://www.officeactivate.com/schuit/madison.shtml

Thanks.
Dan


在comp.infosystems中的


。 Dan V.写道: www.authoring.stylesheets :
in comp.infosystems.www.authoring.stylesheets, Dan V. wrote:
是它可能有两个divs彼此相邻而一个没有环绕?


是的。

我意识到2个div是浮动的但是我只能把它当作现在最好的解决方案。

我试图将缩略图照片和大型家居渲染放在上面
不要包装,只有内部/外部照片要包装。
你推荐什么?


为什么?包装通常是好事,它可以防止水平滚动。

你的问题是你的元素不会很好地包裹,而不是它们包裹。
http://www.officeactivate.com/schuit/madison.shtml
Is it possible to have 2 divs beside each other and one not wrap around?
Yes.
I realize the 2 div''s are floating left but I can only think of this as the
best solution for now.

I am trying to get the thumbnail photos and the large home rendering on top
not to wrap, and only the interior/exterior photos to wrap.
What do you recommend?
Why? wrapping is usually good thing, it prevents horizontal scrolling.
Your problem is that your elements wont wrap nicely, not that they wrap.
http://www.officeactivate.com/schuit/madison.shtml



如果顶部的大图像没有其他功能而不是大的,deorative

图像,使用它作为背景,所以它不会得到水平滚动条。我的b $ b也会让它更短。


我会使用内联块来获取拇指(FF不会得到它,但不应该导致

多大的危害),并将其他图像浮动到右边。


似乎左侧的导航按钮部分多余,我会b / b
在那里删除整个菜单并将它的2个主题放在

顶部的水平菜单上,并将徽标移动到左上角。


之后,它会适合大多数窗户,也很好地包装在窗户上

小到容纳它。


-

Lauri Raittila< http: //www.iki.fi/lr> < http://www.iki.fi/zwak/fonts>

乌得勒支,NL。



If the big image on top has no other function than being big, deorative
image, use it as background, so it won''t get horizontal scrollbar. I
would also make it shorter.

I would use inline-block for thumbs (FF wont get it, but shouldn''t cause
much harm), and float other images to right.

It seems that navigation buttons on left side are partly redundant, I
would remove whole menu there and put 2 itmes of it to horizontal menu on
top, and move logo to top left corner.

After that, it would fit most windows, and wrap nicely on windows too
small to accommodate it.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.


我喜欢你的想法。但是我不知道如何实现它们中的一些。


例如,这对我不起作用,并显示一个大约10像素的小div

在顶部高:

< div style =" background-image:url(images / Madison / madison.jpg);

background-repeat:不重复;宽度:409;身高:267; border:1px solid

black;">带有背景图片的DIV元素示例:< / div>


这是我的一个有点迷失:

我会使用内联块大拇指(FF不会得到它,但不应该造成

多大的伤害),并浮动其他图像到右边。


到目前为止这是:
http://www.officeactivate.com/schuit/madison.shtml


我仍​​然试图将4个内部居中div中的图像就像它上面的大型

主页渲染一样。


浮动右边将大型渲染放在最右边,看起来很有趣。

除非你的意思是将div放在右边并使内容居中......?

" Lauri Raittila" < LA *** @ raittila.cjb.net>在留言中写道

新闻:MP ************************ @ news.individual.ne t ...
I like your ideas. But I don''t know how to implement some of them.

This won''t work for me for example, and displays a tiny div about 10 pix
high at the top:
<div style="background-image: url(images/Madison/madison.jpg);
background-repeat:no-repeat; width:409; height:267; border: 1px solid
black;">Example of a DIV element with a background image:</div>

And this one I am a little lost on:
"I would use inline-block for thumbs (FF wont get it, but shouldn''t cause
much harm), and float other images to right."

This is it so far:
http://www.officeactivate.com/schuit/madison.shtml

I am still trying to center the 4 interior images in the div like the large
home rendering above it.

Floating right put the large rendering on the far right and looked funny.
Unless you meant floating the div right and centering the content...?
"Lauri Raittila" <la***@raittila.cjb.net> wrote in message
news:MP************************@news.individual.ne t...
www.authoring.stylesheets ,Dan V.写道:
in comp.infosystems.www.authoring.stylesheets, Dan V. wrote:
是否有可能在彼此旁边有两个div而一个没有环绕?
Is it possible to have 2 divs beside each other and one not wrap around?



是的。



Yes.

我意识到2个div是浮动的,但我现在只能想到这是
最佳解决方案。

我想要获取缩略图照片和大型家居渲染上面没有包装,只有内部/外部照片要包装。
你推荐什么?
I realize the 2 div''s are floating left but I can only think of this as
the
best solution for now.

I am trying to get the thumbnail photos and the large home rendering on
top
not to wrap, and only the interior/exterior photos to wrap.
What do you recommend?


为什么?包装通常是好事,它可以防止水平滚动。
你的问题是你的元素不会很好地包裹,而不是它们包裹。



Why? wrapping is usually good thing, it prevents horizontal scrolling.
Your problem is that your elements wont wrap nicely, not that they wrap.

http://www.officeactivate.com/schuit/madison.shtml



如果顶部的大图像没有其他功能而不是大的,精致的图像,请将它用作背景,因此它不会得到水平滚动条。我也会缩短它。

我会使用内联块来获取拇指(FF不会得到它,但不应该造成很大的伤害),并且漂浮其他图像到右边。

左侧的导航按钮似乎是部分多余的,我将删除整个菜单,并将它的2个主题放在
顶部的水平菜单上,然后将徽标移动到左上角。

之后,它适合大多数窗户,并且很好地包裹在窗户上,小到可以容纳它。

-
Lauri Raittila< http://www.iki.fi/lr> < http://www.iki.fi/zwak/fonts>
荷兰乌得勒支。



If the big image on top has no other function than being big, deorative
image, use it as background, so it won''t get horizontal scrollbar. I
would also make it shorter.

I would use inline-block for thumbs (FF wont get it, but shouldn''t cause
much harm), and float other images to right.

It seems that navigation buttons on left side are partly redundant, I
would remove whole menu there and put 2 itmes of it to horizontal menu on
top, and move logo to top left corner.

After that, it would fit most windows, and wrap nicely on windows too
small to accommodate it.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.



这篇关于是否有可能在彼此旁边有2个div并且没有环绕?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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