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 ForumsFeedbackFeedbackSet Width of feedback message body  fieldSet Width of feedback message body field
Previous
 
Next
New Post
5/13/2011 9:56 AM
 
Hello, it seems that I cannot adjust the Width of feedback message body field.
I try to have it set to 200 - all other fields have this width but not the message body.... 

Any idea? can I adjust it through the custom module css file?
Thank you!

Oliver
 
New Post
6/29/2011 12:41 PM
 
Same problem here., CSS seems to have it set to 92% and it works for everything else but the body field.

Icthus Technologies

Building Faith on the Internet
 
New Post
6/29/2011 8:32 PM
 
Am I correct that you are running under DotNetNuke v 5.6.2? If so, this behavior may be due to the following css rule having been added to default.css in v 5.6.2:

/* text style used for textareas in the admin and edit pages, for Nav compatibility */
textarea.NormalTextBox{width:300px;height:200px;}

Feedback.ascx uses an ASP.Net textbox control with textmode="Multiline" for it's message body field. This renders as a textarea element. In the Feedbck.ascx markup this control is given the following two css classes:

cssclass="NormalTextBox Feedback_ControlWidth"

Unfortunately the new rule defined in default.css is of higher priority causing the Feedback_ControlWidth class to be ignored. I have not tested this but your might try changing the cssclass attribute on the <asp:textbox id="txtBody" . . . /> control in DesktopModules/Feedback/Feedback.ascx to the following:

cssclass="Normal Feedback_ControlWidth"

Another fix but less likely to work might be to modify the Feedback_ControlWidth rule in DesktopModules/Feedback/module.css to the following:

.Feedback_ControlWidth
{
    width: 92% !important;
}

I'm far from being a CSS expert so am not entirely sure the addition of the !important to this rule will override the textarea.NormalTextbox rule in default.css as I think the textarea.NormalTextbox rule is both more specific and will be applied later in the css cascade.

CSS experts: please offer some help here!


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
8/24/2011 8:30 PM
 
I worked around this same problem by adding a style stanza to the "Header" value of the module instance iteself, such as:

Settings-->Module Settings-->Advanced Settings-->Header:
<style type="text/css">
     textarea.NormalTextBox{width:92%;}
</style>

It does at least manage to avoid modifying existing DNN code.

Bob
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsFeedbackFeedbackSet Width of feedback message body  fieldSet Width of feedback message body field


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