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...Administration ...Administration ...Text formatting in TablesText formatting in Tables
Previous
 
Next
New Post
8/22/2008 10:31 AM
 


Can someone please assist with this? Does anyone know why text formatting goes awry when I put it into a table?? I'm using DNN 4.8.4.

Text within a table produces very large text which is much larger than the default style. If this text is outside of a table it assumes the default style.

I would like to have added a code snippet to this posting but it doesn't display the code because it builds the table instead. 

Many thanks in advance.

Paul

 

 
New Post
8/22/2008 11:58 AM
 

Table cells won't necessarily get the Normal class applied to them, you can fix that in a number of ways, manually putting the class in, or overriding the CSS with something like

 

.Normal, .Normal TD, .Normal TABLE


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
8/23/2008 1:59 AM
 

This is the simplest and most effective method:

body,.Normal{font:normal 13px Arial,Helvetica;color:#000000;}
table{font:inherit;}

Set the body and .Normal font and make the table inherit it until told otherwise

Rob

 
New Post
8/25/2008 1:55 AM
 

Scratch that.. IE has trouble with it. Just sorting it out now.

Rob

 
New Post
8/25/2008 2:41 AM
 

ok, it's yet another round of browser incompatibilities.. but in any case, this page has the details: http://www.monc.se/kitchen/140/disabling-deprecated-html-using-css

I'm running with this now:

table{
color:inherit;
color:expression(this.parentNode.currentStyle['color']);
font:inherit;
font-family:expression(this.parentNode.currentStyle['fontFamily']);
font-size:100%;
}
 

We'll see how it goes.

The other (and simpler) solution for a specific skin is to specify a default font for tables to match your body or .Normal font. That's what I had been doing until I started using Inherit. I'm using a sheet across many skins and have to make it work on all of them.

Rob

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Text formatting in TablesText formatting in Tables


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