Select and link in one line

I want to set select and link in one line, but select is upper.

<div data-role="fieldcontain">
    <a id="back" href='#' data-role="button" data-inline="true" class="ui-btn-left" data-theme="b" data-icon='arrow-l'>Back</a>
    <select name="menu" id="menu" data-inline="true" data-theme="b"  data-native-menu="false">
        <option value="menu" selected="true">Menu</option>
        <option value="index.html">Home</option>
        <option value="services.html">Services</option>
        <option value="technology.html">Technologies</option>
        <option value="how_we_work.html">How we work</option>
        <option value="about.html">About Us</option>
        <option value="careers.html">Careers</option>
        <option value="contacts.html">Contacts</option>
    </select>
</div>

What can I do? Thanks

Answers


It works fine for me in FF8. What browser are you using?

Try setting your <select> to display: inline in your CSS. The <a> is inline by default, so doesn't need setting.

select#menu {
    display: inline;
}

Need Your Help

Need to click on an xpath using selenium webdriver with python

python selenium click webdriver element

I have created a list of elements matching an xpath and would like to click through each successively. However, if I use the get_attribute("href") command I get a 'unicode' object has no attribute

How to Swipe activity in android wear apps?

android android-wear

I am creating a Android Wear app that has a main activity and another setting activity, how i can display the setting activity when the user swipe the screen from right to left when he on the main

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.