English 中文(简体)
J Query UI职位在含有四舍五入的时间内发放四分之三
原标题:JQuery UI position() issue with a div within a div containing spans

我仍然对“正义与平等倡议”。 我想在另一个<代码><div>内包含链接(作为<span>)。 此处为<代码><div>下的定义,载于我的超文本:

<div id= TOP >
    <div id= TOP_LEFT ><img src="images/Logo_150x50.png"></div>
    <div id= TOP_MID ><select id="ffonts"></select></div>
    <div id= TOP_RIGHT >
        <div id="LOGIN_LINKS">
            <span id="login">Login</span>&nbsp;&nbsp;
            <span id="registr">Registration</span><br />
            <span id="forgotpwd">Forgot Password</span>&nbsp;&nbsp;
            <span id="logout">Logout</span>
        </div>
    </div>
</div>

我试图将(在文件阅读中)立场方法作为以下方法:

$("#"+LOGIN_LINKS).position({
    my: "center bottom",
    at: "center bottom",
    of: "#"+TOP_RIGHT
});

但是,我的联系并没有在底线上调。

“entergraph

Why? What am I doing wrong?

EDIT

在进行更多的测试之后,在每一段之后,我将<代码><br />列入:

<div id="LOGIN_LINKS">
    <span id="login">Login</span><br />
    <span id="registr">Regist</span><br />
    <span id="forgotpwd">Forgot Password</span>
    <!-- span id="logout">Logout</span -->
</div>

“entergraph

似乎像对我ug!

最佳回答

似乎有几个问题被贴上黑手党,但这里是一份工作版本:

http://jsfiddle.net/xb4Rf/1/"rel=“nofollow> http://jsfiddle.net/xb4Rf/1/

基本上,我看到的主要问题是,集装箱(TOP_Rright)的顶峰已经到了底部。 改变高点将儿童按预期流动。 如果你想将似乎比增加休息时间更复杂但可以做到的守则编成册。

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签