I just spent over a week creating an interest form, and while it works great, the HTML Checkboxes make it look lame!! (Especially when they are “disabled” as seen below…)
Since HTML5 or JavaScript is not an option for this version, is there anything I can do to…
Make the Checkboxes LARGER so people can actually see them??
Make the Checkboxes DARKER so people can again actually see them?
Make the “check” more distinct?
I am so disappointed with how they look in my browser, that I am almost wondering if I could/should convert them to a Radio Button or something else?!
Forms are notorious for being troublesome when it comes to styling.
The rationale being that forms should all display in the browser’s “native” style so that users won’t get confused.
That said, you could style to get the form to look “acceptable” in different browsers, but don’t expect whatever it is you think perfection would look like.
IMHO better to spend the time learning some simple basic JavaScript to make for a better user experience, which if you had tried doing when first suggested ~week ago you would have long been done with by now.
I have a script with a form where a user can check/uncheck what he/she is interested in.
Then in the user’s profile, I display the results for others to see. There, I stripped out the actual form syntax but am using <input type='checkbox'>.
For symmetry, it makes sense to use the same control that were used for input for display in my opinion.
But I am open to finding another way to display some sort of “tick”, “X”, check, etc as long as it doesn’t require HTML5, JavaScript or something else that would be more trouble and risk on this last script for my client’s site.
P.S. Whatever I use, it should not be clickable or editable since I am display results and not accepting input!
In the user’s profile, are you displaying the user’s choices in a list or lists? If so, you can replace the common list markers with images that look like check marks or CSS shapes that would reflect the user’s selections. Have you ever substituted list markers with images or other shapes? Sounds to me like that would be a read-only way to display the user’s selections in a way that you could customize to your heart’s content.
Both my client and I like your standard HTML check-boxes.
What we don’t like is that they are too small proportionally to the surrounding text, and that when I “disable” them they turn gray making them even harder to see.
(Seriously, I have decent vision, and for a visually-impaired figuring out which ones are checked must be a real nightmare?!)
[quote=“ronpat, post:11, topic:116765, full:true”]
In the user’s profile, are you displaying the user’s choices in a list or lists? If so, you can replace the common list markers with images that look like check marks or CSS shapes that would reflect the user’s selections. Have you ever substituted list markers with images or other shapes?[/quote]
Consider sprites. You can design/draw them to suit your fancy. And in this case, where you have check boxes on a form and a readout in the user’s profile, you could use the same sprites in both places so they look the same whether applied to the form element or the list item element.
For example (replace these with your customized checkboxes):
As John already said you can do this in CSS only for modern browsers and swap the checkbox out for a nice image of your own making. There are quite a few tutorials around and here are a few more.
The technique is to hide the checkbox itself off-screen with css and then add the checkbox image to an associated label (associated labels will action the checkbox when clicked). You then use the :checkbox pseudo class as a trigger for supplying the appropriate image states (checked,unchecked,disabled)