SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Feb 2007
    Posts
    873
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Both label and data to appear on same row.

    Dear All,
    I have a link here http://183.78.169.53/tm/addVL.php. My problem is how to make both Name label and its text box on same line and same goes for the checkbox and the label Trailer. Any idea what is wrong I have tried span even.

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,777
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Remove the display:block from label.description.

    If you need to size it then use display:inline-block instead.

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,588
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    Remove this line in red:

    Code:
    label.description {
      border: medium none;
      color: #222222;
      display: block;
      font-family: Calibri;
      font-size: 15px;
      font-weight: 700;
      line-height: 150%;
      padding: 0 0 1px;
    }
    EDIT: beaten toot.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •