Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-06 06:02:25

deronsizemore
Member
From: Kentucky
Registered: 2005-11-02
Posts: 324

styling "submit" button?

Maybe it’s just to late and I’m tired, but I’ve been trying to style my contact forms’ “submit” button by using:

input.submit {
}

and am not having any luck. Is this not how it’s done with zem_contact reborn?

Offline

#2 2006-02-06 06:14:18

neptho
Member
From: A cold, dark place.
Registered: 2006-02-01
Posts: 48

Re: styling "submit" button?

zem_contact_reborn uses the id of “zemSubmit”, and the form id of “zemContactForm”; see The Bomb Site All labels, inputs and the textarea have their own individual “id” and “class” which are equal to the value of $name. This may be a default value or one that you have entered yourself using the name=“whatever” attribute.

I doubt you want to change all submit values. However: Are you forcing a full reload, that the css returned from the style is not cached in your browser? (shift-reload)

Last edited by neptho (2006-02-06 06:15:39)

Offline

#3 2006-02-06 06:54:47

deronsizemore
Member
From: Kentucky
Registered: 2005-11-02
Posts: 324

Re: styling "submit" button?

> neptho wrote:

> zem_contact_reborn uses the id of “zemSubmit”, and the form id of “zemContactForm”; see The Bomb Site All labels, inputs and the textarea have their own individual “id” and “class” which are equal to the value of $name. This may be a default value or one that you have entered yourself using the name=“whatever” attribute.

I doubt you want to change all submit values. However: Are you forcing a full reload, that the css returned from the style is not cached in your browser? (shift-reload)

Well in this case, I’ve only got one contact form, so I don’t mind just using this one style. I’ll check out the bomb site link you gave me. Full reload does nothing.

Thanks

Last edited by deronsizemore (2006-02-06 06:57:10)

Offline

#4 2006-02-06 07:04:30

deronsizemore
Member
From: Kentucky
Registered: 2005-11-02
Posts: 324

Re: styling "submit" button?

Thanks, I got it. I just used the id “zemSubmit” in my styles. I was guess it wasn’t working because I was trying to use a the submit class which didn’t exsist!

Thanks

Offline

Board footer

Powered by FluxBB