|
The reason that everything is affected, is that all elements have the .rapid_contact class. To affect just the original div, you just write div.rapid_contact This way, the input.rapid_contact will not be affected by this css selector. If then you want to change the widths, you can use div.rapid_contact input -or- input.rapid_contact -or- div.rapid_contact .inputbox and div.rapid_contact textarea -or- textarea.rapid_contact -or- div.rapid_contact .textarea
If you need to apply a style only to rapid contact, you can also use the module class suffix, which is appended on the div.module (made for example, if module class suffix is test) div.moduletest Please note, that in that case, the module class suffix is also appended in the rest of the elements, like div.rapid_contacttest
Thanks again. |