WordPress.org

Ready to get started?Download WordPress

Forums

css form editing (3 posts)

  1. gcollier
    Member
    Posted 3 years ago #

    I'm wanting a subscription form (this is not a widget, but code that I am inserting) to be single spaced, but it is coming out only as double spaced. I'm guessing this is a function of the css page, since the same form shows up twice on the same page: once in the main text, and once in the right column. The one in the right column appears correctly. The one in the main text appears as double spaced. Yet, the code is exactly the same for both. I have looked until I'm blue in the face and cannot figure out the probably very simple way of adjusting a setting in the css style sheet page.

    If you want to see the page, here it is:
    http://www.biblestudytips.org/about/

    I've included the code itself below. But like I said, this exact same code is showing up differently in the right hand column than it does in the main text.

    <table align="center">
    <tr>
    <td>First Name:</td><td><input type="text" name="FirstName" /></td>
    </tr>
    <tr>
    <td>Last Name:</td><td><input type="text" name="LastName" /></td>
    </tr>
    <tr>
    <td>Email:</td><td><input type="text" name="Email" /></td>
    </tr>
    <tr>
    <td align="center" colspan="2">
    <input type="submit" value="Submit" /></td>
    </tr>
    </table>

    Thanks, I will appreciate any help I can get.
    Gary

  2. flamenco
    Member
    Posted 3 years ago #

    Hi,
    If I'm following you, it's your input fields that are tubby. Notice the CSS setting below, with margin-bottom of 30px. This could be adjusted to get less paunch.

    #content, #content input, #content textarea {
      color: #444444;
      font-size: 15px;
      line-height: 22px;
      margin-bottom: 30px;
      overflow: hidden;
    }

    But you may want the margin on the other stuff. If so, you could just put this block of code right after it:

    #content input {
      margin-bottom: 0px;
    }
  3. gcollier
    Member
    Posted 3 years ago #

    Very nice. Thanks a bunch. It's easy when you know what you're doing. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic