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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Font large in module....only for everyone but admin/host.Font large in module....only for everyone but admin/host.
Previous
 
Next
New Post
11/30/2008 8:47 PM
 

Hello all,

I'm a new DNN (wannabe) developer and I was trying my hand at developing my first module.  Everything seems to be going fine, except the font.  I thought it was a stylesheet causing the issue, but I replaced every .css file in my project with the ones from the install folder with no effect.  The strange thing is that when I log in as host or admin, the font looks normal, but as a guest or normal user, the font looks about three sizes too big. 

Has anyone else seen anything like this?


Thanks,


KK

 
New Post
11/30/2008 9:21 PM
 

When logged in as a host/admin are you getting a Normal class wrapped around your content?

I would start by downloading Firebug for Firefox and using the "inspect" functionality to check out what fonts/styles are being applied to the text on the page.

I don't use firefox regularly, I am a PC, I use IE, but I do use firefox when i need firebug to track down errant CSS.


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
12/1/2008 1:48 AM
 

Well there is this span class="Normal wrapped areound practically everything  so make sure to have

.Normal

{

styling here

}

at the bottom of your stylesheet to override to the one you need, or go through all the css fiels referenced in your page and make sure the .nomal clas entry is deleted from the css files.

 

 
New Post
12/4/2008 12:01 AM
 

Forgive my ignorance (I'm not super-familiar with CSS), but what do you mean a "Normal class wrapped around your content"?

I got Firebug and it's pretty neat.  This is what it shows my page using for style sheets:

<style type="text/css" id="StylePlaceholder"/>

<link href="/assignment6/Portals/_default/default.css" type="text/css" rel="stylesheet" id="_assignment6_Portals__default_"/>

<link href="/assignment6/Portals/_default/Skins/MinimalExtropy/skin.css" type="text/css" rel="stylesheet" id="_assignment6_Portals__default_Skins_MinimalExtropy_"/>

<link href="/assignment6/Portals/0/portal.css" type="text/css" rel="stylesheet" id="_assignment6_Portals_0_"/>

<!--[if LT IE 7]><link id="IE6Minus" rel="stylesheet" type="text/css" href="/assignment6/Portals/_default/Skins/MinimalExtropy/ie6skin.css" /><![endif]-->

 

Not sure which stylesheet overrides which, but I copied all the .css files from the original DNN install files over the ones in my project, thinking that this would have fixed any errors in any CSS files, but I guess it's something else. 

I tried creating a brand new module to see if there were any differences between my module and the default one.  The asp looks pretty empty and the only thing I could see that looked different was that the default labels used CssClass = "normal". 

<asp:Label ID="lblContent" runat="server" CssClass="Normal"/>

I added this to one of my labels and it did reduce the font, but I'd rather not have to do this to everything on all my pages.

 

Thanks,


Kevin

 

 
New Post
12/4/2008 12:04 AM
 

I replaced all my css files from the ones in the DNN install so, whatever is in my stylesheets is what comes default (I don't know them well enough to go messing in there, but I will learn it eventually).

I'm not sure what you mean by wrapping around everything.  Where can I look for this?

Thanks,

Kev

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Font large in module....only for everyone but admin/host.Font large in module....only for everyone but admin/host.


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