[RESOLVED] Need advice on simple positioning question
I have a very simple "2 column" CSS form below. It displays labels down the "left column" and the data input fields down the "right column"
If I wanted to add text, such as "The quick brown fox jumped over the lazy white dog", to be positioned directly adjacent and to the right of only the "file1Checkbox" field (which in this example this is the first CHECKBOX field) then what is the preferred CSS way to do so?
Here I was trying to define a style for the "The quick brown fox..." text itself, but you pointed out that I needed, instead, to affect the style of the checkbox field in front of it.
Is there a simple rule of thumb for knowing how to approach these situations - i.e, whether to tweak the element itself or the element(s) before it?
Fang, I spoke too soon. Adding this style for type="checkbox" works well for FF and Safari, but IE (at least IE7 and IE8) leaves the phrase "The quick brown fox..." over too far to the right of the checkbox - like it's trying to be in a third column that is to the right of the widest input fields.
Bookmarks