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 9128997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:38:51+00:00 2026-06-17T07:38:51+00:00

I am just attempting inline CSS to get this right and will move it

  • 0

I am just attempting inline CSS to get this right and will move it to my “styles” file when finished. What I am attempting should make all the images and radio buttons inline in the surrounding DIV. What I can’t do is get them to center height-wise. I tried a margin-bottom on the first radio button as you can see, but it doesn’t do anything. What am I doing wrong? Might I need a clearfix somewhere?

<div style="height:30px;">


            <input type="radio" name="pay_type" checked="checked" style="margin-bottom:10px;">&nbsp;&nbsp;&nbsp;<img src="/images/cards.png" style="margin-right:40px;">
            <input type="radio" name="pay_type">&nbsp;&nbsp;&nbsp;<img src="/images/pay-pal.png" style="margin-right:40px;">
            <input type="radio" name="pay_type">&nbsp;&nbsp;&nbsp;<img src="/images/amazon-payments.png">


</div>
  • 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-17T07:38:52+00:00Added an answer on June 17, 2026 at 7:38 am

    I hope this is what you are looking for
    JSFIDDLE

    I included another <div> which contains the input elements and tried to vertical-align
    this inside the parent <div> . I have given the parent div a height of 600px, you can change it and check.

    However I have inline styles still. Change it once it works out for you.

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

Sidebar

Related Questions

I am attempting to make my first mobile website by just using a different
Just learning the world of jquery, and all my googling gives examples like this:
Just attempting this question I found in a past exam paper so that I
Just looked at the Bootstrap toolkit and attempting to get the dropdown's working on
I just upgraded to IntelliJ IDEA 12.0 and get an error immediately upon attempting
I'm attempting to compile a file that instantiates this class. GCC gives me cryptic
I have just started learning OpenGL and I am attempting to make a game
I need to inline css from a stylesheet in c#. Like how this works.
I'm attempting to use dummynet for some simple networking (just sending a file in
I'm just starting out with PHP, and I am attempting to move some jQuery

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.