Jump to content

Custom Radio Button


haralddae1971

Recommended Posts

Hi,

i used the CSS listing from the Howto for custom Radio buttons. then i placed 4 radio button with text in a row. Unfortunately the browser puts a space of about 50 pixels between the elements. My screen part has only a width of 200 pixels (given by a CSS framework), so the browser uses 2 lines and destroys my layout. How can i adjust the distance between the elements?

Thanks for your help Harald Daebritz

Link to comment
Share on other sites

That humour was exceptionally dry, dsonesuk.

11 hours ago, haralddae1971 said:

If you need more code, please let me know, i will post it as fast possible.

The joke was that you haven't posted any code in the first place.

An example of your code would be very helpful.

Link to comment
Share on other sites

The thing you need to change is your label width, make it smaller, to get it all on one line.

 

There are quite a few interesting things in your HTML however, I suggest you run it through the w3schools validator before proceeding.

https://validator.w3.org/

Link to comment
Share on other sites

The HTML validator just picked a few things up is all.

Errors found while checking this document as XHTML 1.1!

Result: 168 Errors, 11 warning(s)

(Ideally you want this to be 0 errors)

Just put your HTML in here, and check out the details.

https://validator.w3.org/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...