Forum Moderators: not2easy
The specific task I am trying to get done right now:
I would like to put "First Name" in the DIV tag and then use CSS to control whether or not it displays with a trailing ":". i.e. "First Name" vs "First Name:"
The reason I am looking to CSS for this functionality is because the need to show/hide the colon character is directly tied to whether or not the div style has a different background color than its container. When the color is different, then the colon is not needed because the contrast fills the role of separating the label from the field. When the background color is the same, then a colon is needed.
So, any pointers, snippets, or links to example sites would be greatly appreciated.
It seems like overkill, but I don't see any other way. If anyone knows of a better way, please step forward.
Also, it would still be nice to add text via CSS.