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

  • Home
  • SEARCH
  • 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 8162371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T18:41:32+00:00 2026-06-06T18:41:32+00:00

I’m trying to close the distance between the checkboxes and the labels. I would

  • 0

I’m trying to close the distance between the checkboxes and the labels. I would like them to sit inline.

CSS

#mc_embed_signup_pro {
    background: #fff;
    width: 520px;
    padding: 40px;
    }
#mc_embed_signup_pro input {
    height: 38px;
    width: 510px !important;
    font-family: Arial;
    font-size: 22px;
    text-transform: bold;
    color: #666;
    border: 1px #a3a3a3 solid;
    -moz-border-radius: 12px;
    border-radius: 12px;
    float: left;
    clear: both;
    }
#mc-field-group li {
    float: left;
    width: 30px;
    height: 40px;
    }
.check {
    background: aqua;
    float: right !important;
    }
#mc_embed_signup_pro label {
    margin-top: 20px;
    margin-bottom: 8px;
    float: left;
    }
#mc_embed_signup_pro .mc-field-group {
    margin-bottom: 10px;
    height:60px;
    clear: both;
    }
#mc_embed_signup_pro .button {
    background: #484848 !important;
    float: left;
    padding-top:3px !important;
    font-size: 32px !important;
    line-height: 20px !important;
    width: 150px !important;
    height: 46px !important;
    font-family: 'Populaire';
    }

Live sample
http://www.oatbook.co.uk/signup-pro.html

  • 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-06T18:41:33+00:00Added an answer on June 6, 2026 at 6:41 pm

    #mc_embed_signup_pro input has a style of width: 510px;, which is being applied to your input fields above as well as your input checkboxes. You need to make a seperate style for your checkboxes so they can both have independent widths.

    Also, not sure if you intended it, but on my browser your checkboxes are REALLY big and blurred, 38px x 38px

    edit: response to first comment

    First, you have !important on assigned to the width of #mc_embed_signup_pro input imput tags. !important will override any style no matter where it sits in your CSS, (even inline) so you will want to remove that. There is a second one here you will need to remove:

    input {
        border-radius: 12px 12px 12px 12px;
        color: #666666;
        float: left;
        font-family: Arial;
        font-size: 15px;
        height: 8px;
        width: 220px !important;
        }
    

    This is probably why you added the!important to the 510px width in the first place? Next you’ll want to actually add a class declaration to these bits

    <li>
        <input id="mce-group[1869]-1869-0" type="checkbox" name="group[1869][1]" value="1" class="checkbox">
        <label for="mce-group[1869]-1869-0" class="label">Medical Professional</label>
    </li>
    
    input.checkbox {
        width:20px; 
        float:right; 
        margin:0; 
        padding:0; 
        height:1em;
        }
    
    input.label {
        width:200px; 
        float:left; 
        margin:0; 
        height: 1em;
        }
    

    You are going to have some unecessary code here, though, because the styles from <input> and #mc_embed_signup_pro input are adding styles you don’t want to the checkbox inputs. The best thing you could do is put unique classes for each input type and style those instead of using the descendant selector #mc_embed_signup_pro input. By using input you are stying all input tags, not just the classes assigned to them. The only styles that should be applied to input are the ones that are universally applicable. Otherwise you are writing styles, then overwriting them later rather than never having applied them at all.

    I hope this makes sense.

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

Sidebar

Related Questions

I would like to count the length of a string with PHP. The string
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I would like to run a str_replace or preg_replace which looks for certain words
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I've got a string that has curly quotes in it. I'd like to replace

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.