浮底式 [英] style for float bottom

查看:72
本文介绍了浮底式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个测试页面,其中有一个使用div创建的窗口,但是我没有想出如何移动向下箭头。在主要底部

div。

http://www.hulenbend.net/test2.html


我一直在寻找像float:bottom这样的样式属性,但我猜有没有' '$

一个。我不想使用任何硬位置值,如左:和顶部:


任何帮助表示赞赏。


Mike

I have created a test page with a window in it created by using divs, but I
haven''t figured out how to move the "down arrow" to the bottom of the main
div.

http://www.hulenbend.net/test2.html

I was looking for a style property like float:bottom but I guess there isn''t
one. I don''t want to use any hard positional values like left: and top:

Any help is appreciated.

Mike

推荐答案

Michael Hill写道:
Michael Hill wrote:
我创建了一个测试页面,其中有一个使用div创建的窗口,但是我<没有想出如何移动向下箭头到主要部分的底部。

http://www.hulenbend.net/test2.html

我一直在寻找像float:bottom这样的样式属性,但我猜其中没有一个。我不想使用像左边那样硬的位置值:顶部:

任何帮助都表示赞赏。

迈克
I have created a test page with a window in it created by using divs, but I
haven''t figured out how to move the "down arrow" to the bottom of the main
div.

http://www.hulenbend.net/test2.html

I was looking for a style property like float:bottom but I guess there isn''t
one. I don''t want to use any hard positional values like left: and top:

Any help is appreciated.

Mike




它[向下箭头]位于底部,它位于arrow_up.gif的下方。

基本上你只需要两个图像/链接并排可见?我知道

你说你正在寻找位于

div底部的向下箭头,但你究竟是怎么摆出来的呢?它的样子?不是

代码。如果可以的话,请告诉我你要去哪里,我会很乐意提供帮助。



It [down arrow] is at the bottom it''s just underneath the arrow_up.gif.
Basically you just want both images/links visiable side by side? I know
you stated you''re looking for the down arrow to be at the bottom of the
div but how exactly are you laying this out? The look of it? Not the
code. Give me a feel of where you are going with this if you could and I
would be happy to help.


" Michael Hill" <喜**** @ charter.net>写道:
"Michael Hill" <hi****@charter.net> wrote:
我创建了一个测试页面,其中有一个使用div创建的窗口,但是我
I have created a test page with a window in it created by using divs, but I




Don' $ multipost。


-

Spartanicus



Don''t multipost.

--
Spartanicus


" Michael Hill" <喜**** @ charter.net>写道:
"Michael Hill" <hi****@charter.net> wrote:
我创建了一个测试页面,里面有一个使用div创建的窗口,但是我还没想出如何移动向下箭头 ;到主要底部的div。
http://www.hulenbend.net/test2.html

你想要右边方框底部的向下按钮。


我正在寻找像float这样的样式属性但是我猜没有一个。我不想使用任何硬位置值,如左:和顶部:


如何定位:绝对然后调整顶部和margin-left?


如果你将CLwindow高度改为200:

..clDown {

位置:绝对;

宽度:12;

身高:12;

margin-left:4px;

top:180px;

z-index:60;

background-color:#EEF3F9;

layer-background-color:# EEF3F9

}

任何帮助都表示赞赏。
I have created a test page with a window in it created by using divs, but I
haven''t figured out how to move the "down arrow" to the bottom of the main
div. http://www.hulenbend.net/test2.html
You want the down button at the bottom of the box on the right.

I was looking for a style property like float:bottom but I guess there isn''t
one. I don''t want to use any hard positional values like left: and top:
How about position:absolute and then adjust "top" and "margin-left"?

If you change CLwindow height to 200:

..clDown {
position: absolute;
width:12;
height:12;
margin-left: 4px;
top: 180px;
z-index:60;
background-color:#EEF3F9;
layer-background-color:#EEF3F9
}
Any help is appreciated.




但是它不会更好用列表框还是组合框?没错,你这个b $ b不能使用z-index。但你真的需要z-index吗?确实,在IE中你可以改变的只是字体颜色和背景颜色。但那个

可能已经足够了。此外,如果

样式被修改或覆盖,它将降级为标准控件。



But wouldn''t it just be better to use a listbox or combobox? True, you
can''t use z-index. But do you really need z-index? And true, in IE the
only thing you can change is font color and background color. But that
might be sufficient. Plus, it will degrade to a standard control, if
styles are modified or overridden.


这篇关于浮底式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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