Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7715161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:18:55+00:00 2026-06-01T02:18:55+00:00

I use a ‘ul’ tag for form fields and in each of its li

  • 0

I use a ‘ul’ tag for form fields and in each of its li tags I place a label and input, using the standard Html.Label and Html.Editor helpers, except for dropdowns, where I use the DevExpress ComboBox extension. This renders a table instead of a select tag, which is fine, but when I set the CSS display attribute on this table to ‘inline-block’ to place it next to it’s label, the label gets pushed down, where it would normally middle align with the input, it now ‘bottom-aligns’ with the input. How can I align the ‘Course Type’ label the same as the ‘Name’ label in the image? enter image description here

The rendered HTML is very like the following, just shortened for brevity:

<li>
    <label for="" style="width: 80px;">*Course Type</label>
    <table class="dxeButtonEdit_Office2010Black">
        </tbody>
    </table>
</li>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T02:18:56+00:00Added an answer on June 1, 2026 at 2:18 am

    Use the “inline-table” style instead:

    Possible ways of arranging DevExpress controls within a page

    Data Editors – Model Validation

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

use the [] symbol in the name of the form field you are submitting
Use default: <input type=radio name=restype value=resdef onfocus=document.getElementById('resupload').disabled = true; document.getElementById('resadres').disabled = true; checked=checked /><br
Use AES/Rijndael or any symmetric encryption. Encrypt the hidden value using itself as the
Use of Unassigned local variable 'model'. Is what error message I'm getting. Its right
Use http://jobs.sitesixteen.com/ for reference. I'm using YQL for the city, state auto-complete. IF you
use case is simple: I want to run some boiler plate code before each
Use of rails 3 recaptcha. In view _form.html.erb insert <%= recaptcha_tags %> But when
Use case: I'm using data templates to match a View to a ViewModel. Data
Use case : User fills out a form to add a product and register
Use enum to build a custom Messagebox like Messagebox in c# I am using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.