DMXzone Calendar 2 Support Product Page

Answered

Calendar 2 and class=

Asked 11 Jan 2012 22:36:30
1
has this question
11 Jan 2012 22:36:30 doug mcgown posted:
I notice that a class called dmxCalendar2 was added to the input field automatically. I have a custom class I want to use that does this:

background-color:#eee;
color: #000;
border-style:solid;
border-width:1px;
border-color:#000;
font-size: 16px;
letter-spacing: 1px;
padding-left: 2px;

Since the class dmxCalendar2 has been added automatically, how can I use my custom CSS to modify the input field? Any direction would help. On Calendar 1, we didnt have this delimma.

Last of all, I cannot find where the dmxCalendar2 is located.
Edited by - doug mcgown on 11 Jan 2012  23:31:48

Promoted Answers

Replied 11 Jan 2012 23:38:11
I am losing my mind...

I forgot you can have more than one class assigned to one element. All you do is simply seperate both class names by a space.
Ex: <input class="dmxCalendar2 anotherClassName" name="birthday" id="birthday" readonly="readonly" />

I hope my "dummyness" helps someone []

Replies

Replied 11 Jan 2012 23:38:11
11 Jan 2012 23:38:11 doug mcgown replied:
I am losing my mind...

I forgot you can have more than one class assigned to one element. All you do is simply seperate both class names by a space.
Ex: <input class="dmxCalendar2 anotherClassName" name="birthday" id="birthday" readonly="readonly" />

I hope my "dummyness" helps someone []
Replied 12 Jan 2012 10:46:03
12 Jan 2012 10:46:03 Vulcho Vulev replied:
Hello Doug Mcgown.

Thank you for the contribution.
Replied 24 May 2012 13:39:15
24 May 2012 13:39:15 Peter Piper replied:
Yes, I didn't know you could do that - use two class names in sequence... it sure helped this dummy!

Reply to this topic