Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and Liststyling the formstyling the form
Previous
 
Next
New Post
6/7/2009 3:58 AM
 

I downloaded the latest form and List and tried to start styling a form. I enabled the CSS but I don't know where to put the CSS file / settings to style the form.

i.e. if I want First name _____________ Last name ____________ on the same line, and the text boxes to be relatively small, how do I do that?

Or, if I want a large multiline text box for the body of the message, don't see where to do that either.

Any help?

Thanks for updating the module to allow this feature, by the way! Just don't see where to do it...

 
New Post
6/7/2009 4:56 PM
 

This is how to implement CSS:

In skin.css, place the following (taken from formandlist.com)

/* CSS FOR USER DEFINED TABLES/form AND LIST MODULE */

/* FieldSet */
.UDT_form Fieldset, .UDT_Type_Captcha
{
    border: 1px solid #DE7C33;
    margin: 10px 0 20px;
    padding: 2em 10px 1em;
    position: relative;
    background: #D5E4F0;

    }


/* Legend */
.UDT_Field legend
{
    color: #fff;
    background: #C41F26;
    border: 1px solid #781351;
    padding: 2px 6px;
    font-size: 13px;
        /* needed for IE */
    position: absolute;
    top: -10px;
    left: 20px;
}
/* Fields */
.UDT_Caption
{
    display: block;
    float: left;
}

.UDT_Input
{
    padding-bottom: 12px;
        display: inline;

}
/* Buttons */
.UDT_Buttons input
{
    color: #000;
    border: 1px outset #d7b9c9;
    padding: 6px;
    cursor: pointer;
}
.UDT_Buttons Input.UDT_Default
{
    background: #C41F26;
    border: 2px outset #E29A9E;
    font-weight: bold;
    color: #fff;
}

 

 

_______________________

_______________________

_______________________

 

The main thing I can't seem to be able to format now is the texarea for Text/HTML field.  Using firebug it seems the text area is 75 columns by 7 rows.... I can't figure out how to change it!

<div class="UDT_Input">

<textarea cols="75" rows="7" name="dnn$ctr422$Default$form$ctl33"/>
</div>
 
I tried specifying a width for UDT_Input in CSS, but it gets over-ridden by the 75 rows.  I need the box width to be smaller. Any suggestions?


    

 
New Post
6/15/2009 2:19 AM
 

m wrote

I tried specifying a width for UDT_Input in CSS, but it gets over-ridden by the 75 rows.  I need the box width to be smaller. Any suggestions?

Sorry, this setting cannot be overridden. Please log it as bug in support.dotnetnuke.com [public]

 
New Post
11/2/2010 12:44 PM
 
How is this rendered. What file is it in?
 
New Post
11/10/2010 3:51 AM
 
ChuckTex wrote:
How is this rendered. What file is it in?

It is handled within the  TextHtml datatype.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and Liststyling the formstyling the form


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out