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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:03:42+00:00 2026-05-10T19:03:42+00:00

<style type=text/css> body { font-family:Helvetica, sans-serif; font-size:12px; } p, h1, form, button { border:

  • 0
<style type='text/css'> body {     font-family:Helvetica, sans-serif;      font-size:12px; } p, h1, form, button {   border: 0;   margin: 0;   padding: 0; } .spacer {   clear: both;   height: 1px; } /* ----------- My Form ----------- */ .myform {     margin: 0 auto;     width: 400px;     padding: 14px; }     /* ----------- basic ----------- */     #basic {         border: solid 2px #DEDEDE;     }     #basic h1 {         font-size: 14px;         font-weight: bold;         margin-bottom: 8px;     }     #basic p {         font-size: 11px;         color: #666666;         margin-bottom: 20px;         border-bottom: solid 1px #dedede;         padding-bottom: 10px;     }     #basic label {         display: block;         font-weight: bold;         text-align: right;         width: 140px;         float: left;     }     #basic .small{         color:#666666;         display:block;         font-size:11px;         font-weight:normal;         text-align:right;         width:140px;     }     #basic input{         float:left;         width:200px;         margin:2px 0 30px 10px;     }     #basic button{          clear:both;         margin-left:150px;         background:#888888;         color:#FFFFFF;         border:solid 1px #666666;         font-size:11px;         font-weight:bold;         padding:4px 6px;     } </style>  <div id='basic' class='myform'>   <form id='form1' name='form1' method='post' action=''>     <h1>Sign-up form</h1>     <p>This is the basic look of my form without table</p>     <label>Name         <span class='small'>Add your name</span>     </label>     <input type='text' name='textfield' id='textfield' />      <label>Email     <span class='small'>Add a valid address</span>     </label>     <input type='text' name='textfield' id='textfield' />      <label>Email     <span class='small'>Add a valid address</span>     </label>     <!-- Problem --->     <input type='radio' name='something' id='r1' class='radio' value='1' /><label for='r1'>One</label>     <input type='radio' name='something' id='r2' class='radio' value='2' /><label for='r2'>Two</label>     <!-- Problem --->     <button  type='submit'>Sign-up</button>     <div class='spacer'></div>     </form> </div> 

I was given this example form, however I cannot add radio buttons without them being messed up.

  • 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. 2026-05-10T19:03:43+00:00Added an answer on May 10, 2026 at 7:03 pm

    (within the style tags) add these new style rules:

    #basic input.radio {     width:20px;  } #basic label.radiolabel {     width:40px;     text-align:left;     line-height:24px; } 

    in your html:

    add a new class to each label, like so:

    <!-- Problem --->     <input type='radio' name='textfield' id='r1' class='radio' value='1' /> <label for='r1' class='radiolabel'>One</label>     <input type='radio' name='textfield' id='r2' class='radio' value='2' /> <label for='r2' class='radiolabel'>Two</label>     <!-- Problem ---> 

    edit:added line-height to the label’s styling 🙂

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

Sidebar

Ask A Question

Stats

  • Questions 62k
  • Answers 62k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer To hide the GridView columns, you can use the GridView_RowDataBoundEvent… May 11, 2026 at 10:17 am
  • added an answer You need to mark this file with the DeploymentItemAttribute if… May 11, 2026 at 10:17 am
  • added an answer To achieve that you need to change the Control template… May 11, 2026 at 10:17 am

Related Questions

<style type=text/css> body { font-family:Helvetica, sans-serif; font-size:12px; } p, h1, form, button { border:
I have the following code <html> <head> <title>Test</title> <style type=text/css> <!-- body,td,th { color:
<html> <head> <style type=text/css> div { border:1px solid #000; min-width: 50%; } </style> </head>
I have this code <html> <head> <style type=text/css> .frame {width: 50em; border: 1px solid
Code and preview: <html> <head> <title>Testing some CSS</title> <style type=text/css> .dDay { font-size:205% }
Is there any elegant way of applying a certain style to all <input type=text>
Let's say I have the following: <style> .myLabel { color: blue; } .myLabel:hover {
I specifically want to add the style of background-color to the <body> tag of
I'm having a problem using CSS's display:inline property with the list-style-image: property on <li>
I have a ComponentResourceKey defined in my resource dictionary like this: <Style x:Key={ComponentResourceKey TypeInTargetAssembly={x:Type

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.