I have a clickable div, but the area to the right of the div is also clickable. I don't want that. How can I fix that?
Probably your div is display: block as it is the default. Try display: inline-block.
display: block
display: inline-block