Hey all, quick question:
How can I have multiple styles for input fields on my website?
E.g. I want the input fields on my "Subscribe to the mailing list" form to be different than the input fields on my Registration page.
And if I do create multiple styles, how do I link the style to the form (or the form to the style?)
Thanks for all the help.
"Don't waste your time or time will waste you"
-
☆ A M B ☆
- 24,524 Posts
Give each form an ID: <form id="subForm" ... > and <form id="regForm" ... > and then specify which form in your css file: #subForm input {...} and #regForm input {...}.
The rule is to give every element that can appear only once on a page an Id, and every element that might be repeated on a page a class. That way you have leeway to style everything individually.
Susan, sometimes I think you are on the only person reading these forums.

Thank you immensely for all the help. I can’t wait to show you what I’m working on once its half complete. Right now , it just STINKS :’(
"Don't waste your time or time will waste you"
-
☆ A M B ☆
- 24,524 Posts
Quote from: Sulman at Jan 09, 2008, 11:20 PM
Susan, sometimes I think you are on the only person reading these forums.
I think other people actually have a life...