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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How can I make normal and normal(DIV) text format the same?How can I make normal and normal(DIV) text format the same?
Previous
 
Next
New Post
3/6/2009 5:17 PM
 

 I was merrily populating content in a new DNN site: copying and pasting from provided .pdf files. I usually copy and "paste as plain text" from FCK Editor. I guess I had a brain-f@r+ and pasted a lot of pages with a straight "paste" function.

Short story long: I have mixed format between "normal" and "normal(DIV) in about 40 pages. It wouldn't be a big deal except that the font style and size are different between the two formats. 

Is there somewhere in CSS where I could set "normal(DIV)" fonts the same as "normal"? Would that be a default font?

I really don't want to go through and edit 40+ modules to match format. My brain would fry. 

 
New Post
3/7/2009 7:35 AM
 

In your CSS, place:

div .Normal {

your styles:xxx

}

or

.Normal div {

your styles:xxx

}


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
New Post
3/9/2009 1:56 PM
 

I can't get that to work. Here's the CSS entry that controls .normal currently: 

/*-- most of the text on site          --*/ .normal, .Normal {
           font-family: tahoma;
           font-size: 12px;
           color: #330066;
                                            line-height: 22px;
           }

I tried adding ", .normal(DIV)" amongst a number of other grammatical combinations but it doesn't change the font. I also tried adding font info to the "body" tag. No help. I need a default fallback font if there's no exact tag match? 

 

 
New Post
3/11/2009 3:30 PM
 

Post a link to your site.  We can take a look.

Else, download either Firebug or Web Developer Toolbar for FF, or Wed Developer Tool for IE and see where you're getting your classes from.

.Normal {
  yourstyle: yourvalue;
}

.Normal p, .Normal div, Normal span {
  yourstyle: yourvalue;
}

Similarly:

div .Normal {
  yourstyle: yourvalue;

Remember the DNN cascade though: Default > Skin > Container > Portal > Module (? tired so can't remeber exactly).
I could be wrong though...  Also let us know you're doctype.

Jon


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
New Post
3/12/2009 4:29 AM
 

Most likely the parenthesis are the problem.  CSS class names shouldn't contain special characters, spaces, underscores, etc. as older browsers will definitely have problems with them as well as some modern browsers and possibly even cause problems with the servers OS.  You can either copy the text and paste again, or perhaps edit the text directly in the database by use of a very carefully observed replace function to change the normal(div) to normalDiv or something else that is a better description for the specifically formatted text.


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How can I make normal and normal(DIV) text format the same?How can I make normal and normal(DIV) text format the same?


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