close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

JQuery Form validation CSS overwrites DA Button CSS

Thread began 4/28/2014 8:38 am by info4753 | Last modified 4/28/2014 9:02 am by info4753 | 779 views | 4 replies |

info4753

JQuery Form validation CSS overwrites DA Button CSS

When I set the same preset name for DA Buttons and JQuery Form validation, then the JQuery Form validation overwrites the Button CSS. In my case it's the background color. Can you please fix this with the next update?

CSS Button:

form.MyCompany_CustomerWebsite input.formButton.CustomerWebsite {
...
background-color: #0026d1;
...
}


CSS JQueryValidation:

.CustomerWebsite {
...
background:#610a0f; /* default background for browsers without gradient support */
...
}

Sign in to reply to this post

Jason ByrnesWebAssist

If you use the same preset name, it will overwrite the CSS, use a unique preset name to prevent this.

Sign in to reply to this post

info4753

Thanks Jason.

I know (now after searching the problem for an our) but this should be taken over from the extension I'd say. Or is this mentioned in the documentation?

By the way, using a name like

btn-Mycompany

Doesn't work and throws an error, btnMyCompany works

Sign in to reply to this post

Jason ByrnesWebAssist

If you use the same preset on 2 pages, it seems to me that you would want both to use the same settings.

That is the job of the presets, to offer a way to easily apply the settings to multiple pages in the site.

I Will log a bug on the preset names.

Sign in to reply to this post

info4753

As I use your software for different projects, I use the customer name for each preset part. In your examples your are not using names like btnMyCustomer and valMyCustomer but MyCustomer too. I think this is misleading and that's why I used MyCustomer for each part too. ;-)

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...