Saturday, February 11, 2012
  Search
Support Forum
default classes
Last Post 20 May 2011 03:31 PM by Code 5. 5 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
tom
New Member
New Member
Send Private Message
Posts:2


--
13 Jul 2010 11:53 AM  
Is it possible to give a new Form automatically a default class? For example. StandardForm

I see that a textbox has a default class: NormalTextBox.

When I choose an other input type: submit button, dropdownlist,... the default class is still NormalTextBox.

Is this an issue? 

For styling a form it's necessary to have default classes, because a customer doesn't know what will be the name of the class.
Code 5
Moderator
Advanced Member
Advanced Member
Send Private Message
Posts:907


--
13 Jul 2010 12:34 PM  
NormalTextBox is a default classname defined in the standard DNN skin MinimalExtropy and hopefully in other vendor supported skins. the purpose is to give s consistant look to all input controls across the web site. Form Master uses this as the default for all controls but of course they can be changed or removed in each control.

The behavior described it by design
tom
New Member
New Member
Send Private Message
Posts:2


--
13 Jul 2010 03:05 PM  
OK, but why is there no default class for the Form itself?
Code 5
Moderator
Advanced Member
Advanced Member
Send Private Message
Posts:907


--
13 Jul 2010 03:24 PM  
Tom,

You can set a class at two levels for the entire form see http://www.code5systems.com/help/fm...tings1.htm

Then you can define in portal.css or any other loaded CSS file (I prefer portal.css) .MyClass TD { padding:5px; } etc.
marko21344
New Member
New Member
Send Private Message
Posts:1


--
20 May 2011 02:56 PM  

We would also like to have fixed table class setting for all forms. Is that possible without typing everytime in Settings - Form Settings - Table class?

thank you

Code 5
Moderator
Advanced Member
Advanced Member
Send Private Message
Posts:907


--
20 May 2011 03:31 PM  
Sorry no. there is no global identifier you could create a css rule for.
You are not authorized to post a reply.

Active Forums 4.2
Copyright 2004-2012 Code 5 Systems, LLC.