开发者

Styling form in jQuery-Dialog

On my jQuery - Dialog I have a form with multiple form fields. There I have a link to add "Attributes". Now I want to have this on the left side of the dialog and on the same line like the submit button. The div "somediv" must be an inline-element.

How can I achieve that?

jsFiddle - http://jsfiddle.net/Auzx6/ (Please expand the "Result" f开发者_JAVA百科rame a lot.)

Thank you very much!


Adding a <br clear="all" /> before the div actions (<div class="actions">) should make the trick.

The clear="all" will clean all the previous floats. Then if you want it on the left side just add this css rule "text-align: left" on that div.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜