selrose99 — 2013-02-22T08:10:15-05:00 — #1
I want to put a checkbox image in my list I am using this fo the CSS but it is not correct.
I want it to look like this: There will be a checkbox by each of the responses.
- I am satisfied with the New Employee Orientation (NEO) I received.
Neither Agree or Disagree
Any suggestions would be great.
ron_roe — 2013-02-22T09:36:55-05:00 — #2
It may be that your margin isn't big enough, and the image is rendering outside the element. Give it a little more left-margin and see what happens.
paulob — 2013-02-22T11:53:55-05:00 — #3
The list-style-image is badly implemented in most browsers and for pixel perfect design I would use a background image in the list element instead which can be placed exactly where you want it using the background-position which is not possible with the list-style:image. Just add enough padding to the left of the list element to accommodate the image and ensure that the list item has enough height for the height of the image you are using (use min-height, line-height or padding).