Tuesday, February 07, 2012
  Search
Support Forum
Report Heading Font
Last Post 22 Jun 2007 02:37 PM by Steve Provencher. 8 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Chris Wylie
New Member
New Member
Send Private Message
Posts:9


--
13 Dec 2006 08:41 PM  
Hello,

My client and I are both experiencing a black font against a navy background for the report headers.  This makes it almost impossible to read. 

When I look at the source is specifices "color:White" so I don't know why the font is black.

Is there any know fix for this?

Thanks,
Chris
Steve Provencher
Moderator
Advanced Member
Advanced Member
Send Private Message
Posts:681


--
13 Dec 2006 09:47 PM  
I assume you are talking about Form Master for DNN3 here. I will look into it and get back to you.

Steve
Chris Wylie
New Member
New Member
Send Private Message
Posts:9


--
13 Dec 2006 10:11 PM  
That's right Steve - DNN 3.2.2 and Form Master 3.1.5.3
Chris Wylie
New Member
New Member
Send Private Message
Posts:9


--
18 Dec 2006 10:42 PM  
Any progress on this? Are you able to reproduce it?

Thanks,
Chris
Steve Provencher
Moderator
Advanced Member
Advanced Member
Send Private Message
Posts:681


--
18 Dec 2006 11:39 PM  
I am sorry Chris I have been flat out with work and family things this season. I will try to get a solution in a couple of days.

Steve
Steve Provencher
Moderator
Advanced Member
Advanced Member
Send Private Message
Posts:681


--
19 Dec 2006 12:16 PM  

I found the line below in my Skin.css file and when I changed the color to Yellow, that effected the Heading Colors.

TH,TD,DIV{ font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; color:#9a9a9a; }

I have the CssClass for the HeaderStyle tag set to SubHead but that seems to make no difference. Probably a Bug in ASP.NET

I have seen this before and my solution was to define the colors for each column in the DataGrid, but that only works when the "Create Columns Automaically at Run Time" is unchecked which in this case it is not as the number of columns and the names cannot be known at Design Time for this kind of application.

The best bet would be to look if a color is defined for the TD element in your CSS.

Steve

Chris Wylie
New Member
New Member
Send Private Message
Posts:9


--
19 Dec 2006 04:30 PM  
Hi Steve,

Thanks for tracking this down. I do set the TD element in my skin. In fact this is standard procedure for my skin maker - so all the skins I use have TD set. Unfortunately it is not practical for me to change this side wide setting to accomodate your module. The only solution I found was to edit ReportForm.ascx and remove the hard coded values for headerstyle and footerstyle. Instead I declared a class, headerFormReport, and then specified this in my skin.css. The downside is that I must maintain a changelog for your module and make this edit for all future releases.

Please consider making the same changes to ReportForm.ascx and module.css. If you could do this in future releases it would certainly help me and anyone else with the same problem. In general, it is also nice to allow people to change core color values like this - so they can visually integrate your module into their site colors - which I do for high end clients.

When ever you do hard code fonts, I can suggest you set them to black as this is more often than not what most default TD skin settings are. Another suggestion, after looking over your .ascx is to avoid ids like "Table1". More than one module or skin maker can easily choose such a standard naming convention and then conflicts will arise. Choose something that will always be unique to your company, like "C5_Table1", "C5_Table2", etc.

HTH

Thanks,
Chris
Steve Provencher
Moderator
Advanced Member
Advanced Member
Send Private Message
Posts:681


--
20 Dec 2006 05:40 PM  

Chris,

All very good suggestions and will be in the next version.

Thanks

Steve

Steve Provencher
Moderator
Advanced Member
Advanced Member
Send Private Message
Posts:681


--
22 Jun 2007 02:37 PM  

Chris,

Version 1.6.0 implemented these suggestions. Not exactly the same way but allowing the same flexibility in CSS formatting.

 

You are not authorized to post a reply.

Active Forums 4.2
Copyright 2004-2012 Code 5 Systems, LLC.