cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Disabled form elements
February 16, 2011
10:40 pm
PatForg
Guest

Currently using: Cform II Version 11.7.1

There is a style affecting all elements with the disabled attribute and it's conflicting with a gallery system we are using.

 

I beleive the style at line 367 of cforms.css

 

[disabled] {

        color:#dddddd;

        border-color:#dddddd!important;

        background:none!important;

}

 

.disabled {

        border-color:#dddddd!important;

}

 

Is extremely hard to overwrite because of the important modifier.

 

I think it should instead be:

 

.cform [disabled] {

        color:#dddddd;

        border-color:#dddddd!important;

        background:none!important;

}

.cform .disabled {

        border-color:#dddddd!important;

}

Thanks.

February 19, 2011
3:16 pm
Paul
Amsterdam, NL
Moderator
Forum Posts: 421
Member Since:
February 10, 2009
Offline

Agreed, although the CSS shipped with cforms is  a great way to get started on styling your forms quickly, it could use some reviewing… :-)

 

Paul.

* Paul Silter
Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
41 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3708

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5307

Posts: 18665

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)