cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


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 Related Topics
can't overwrite styles
Tags: css
January 30, 2011
5:07 pm
Al
Guest

For some reason I can't overwrite the default styles in cforms.css. I grabbed the ID of my form and have tried to overwrite with the following:

 

#cforms2form {
width: auto;
}
#cforms2form .cf-fs1 .cf-ol .cform label {
width: 120px;
}
#cforms2form .cf-fs1 .cf-ol .cform label span {
width: 120px;
}

The only one that sticks is the first one where I changed the width. But
I have no luck with changing the label and span widths. The ID should
take precedence over everything.

When I use Firebug to view the source and click on cforms.css file I can
see my styles are in the stylesheet, but are obviously being totally ignored.

Anyone else run into this problem, or know what I'm doing wrong?

January 30, 2011
5:17 pm
Al
Guest

NM. I'm an idiot. I had my path wrong for the style. Doh!

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
25 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: 3763

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5359

Posts: 18742

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

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

Administrators: Oliver (6400), Nicky (3)