EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
April 28, 2024, 10:27:37 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
easyui-searchbox not aligned with easyui-linkbutton in a toolbar
Pages: [
1
]
« previous
next »
Print
Author
Topic: easyui-searchbox not aligned with easyui-linkbutton in a toolbar (Read 7386 times)
volodias
Newbie
Posts: 8
easyui-searchbox not aligned with easyui-linkbutton in a toolbar
«
on:
September 09, 2013, 10:42:57 PM »
Hello!
Can't get thru the problem of placing easyui-searchbox after three easyui-linkbuttons in my toolbar. The buttons are aligned to the bottom of the div and the searchbox is to top. If I use any input field instead of easy-search component - everything is aligned and looks good.
Looks urgly this
<div id="usr-tbar">
<a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="addUsrRecord()">Add</a>
<a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="editUsrRecord()">Edit</a>
<a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="removeUsrRecord()">Delete</a>
<input id="ss" class="easyui-searchbox" style="width:300px" data-options="prompt:'Please Input Value'"></input>
</div>
Looks good this
<div id="usr-tbar">
<a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="addUsrRecord()">Add</a>
<a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="editUsrRecord()">Edit</a>
<a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="removeUsrRecord()">Delete</a>
<input id="ss" ></input>
</div>
Greetings.
«
Last Edit: September 09, 2013, 10:48:52 PM by volodias
»
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: easyui-searchbox not aligned with easyui-linkbutton in a toolbar
«
Reply #1 on:
September 10, 2013, 01:49:19 AM »
Try adding 'vertical-align' style to the searchbox.
Code:
<style>
.searchbox{
vertical-align:middle;
}
</style>
Logged
volodias
Newbie
Posts: 8
Re: easyui-searchbox not aligned with easyui-linkbutton in a toolbar
«
Reply #2 on:
September 10, 2013, 08:18:48 PM »
Thank you! It helped.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...