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.0CSS font and grid problemCSS font and grid problem
Previous
 
Next
New Post
3/2/2008 4:29 PM
 

Hi,

I have a problem with css file attatched to module. I mean that changing colors works perfect but when i want to change font size, font family or border width nothing is changing (it is ignored). Below I paste my css file (comments added only in post):

body
{
    background-color:transparent;
    margin:0;

}

.lblModule (it changes labels properies)
{
    background-color:;
    font:;
    color:;
   
}

.btnModule (it changes buttons properties)
{
     background-color:;
     color:;
     font:; 
}
.textboxModule (it changes textboxes properties)
{
    font:;
    background-color:;
    border-color:;
    border-width:;
    border-style:;
}
.dropdownlistModule (it changes drodwonlists properties)
{
    background-color:#CC33CC;
    font:;
    color:#CC3366;
}


.gridModule (it changes gridview properties)
{
    background-color:#CCFF33;
    border-color:;
    border-width:;
    border-style:;
    font-size:12; (it is ignored)
    font-family:;
    color:;
    text-align:center;
    visibility:visible;
}
.rowstyleModule (it changes gridview row style properties)
{
   background-color:#33FF66;
   border-color:;
   border-width:;
   border-style:;
   font-size:12; (it is ignored)
   font-family:;
   color:;
 
   
}
.alternatingrowstyleModule (it changes gridview alternating row style properties)
{
    background-color:#00FF33;
    border-color:;
    border-width:5; (it is ignored)
    border-style:;
    font-size:;
    font-family:;
    color:;
}
.headergridModule (it changes gridview header properties)
{
    background-color:#FF9966;
    border-color:;
    border-width:;
    border-style:;
    font-size:;
    font-family:arial; (it is ignored)
    color:;
}

@media print
{
    #hide1,#hide2,#hide3,#hide4
    {
        display:none;
    }

}

So to make matters short proper work only color-related properties but other don't (maybe I have typed it in wrong way?). Can you help me with this?

Thanks in advance,

tigiscus

 
New Post
3/3/2008 12:17 PM
 

And in addition, everything works perfect on local host but not on web server, can someone help?

 
New Post
3/13/2008 1:51 PM
 

Hi,

I have solved my problem some time ago. The problem was conected with skin in web server. I'm writting it if somebody had the same problem.

To solve it you should find css classes names in skin and then name css classes in module css file the same way (because the last set value in css is  read).

Hope this help somebody else.

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0CSS font and grid problemCSS font and grid problem


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