Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  Styles not applied???
Previous Previous
 
Next Next
New Post 1/16/2006 1:32 AM
User is offline Ferry Onderwater
5 posts
10th Ranked


Styles not applied??? 
Modified By cathal connolly  on 1/16/2006 5:29:43 AM)

Hi,

I have entered a few new entries in the CSS-sheet on a site. When entering text in a Text/HTML control the entries are shown in the Styles dropdownlist. After selecting some text and applying a style to them nothing happens. In HTML-view I see a <SPAN> is placed around the selected text and the choosen style is applied to that span but it is not shown, neither in design-mode nor on the 'normal' page. Also the source from IE when viewing the page shows the SPAN and the class, the style is found in the stylesheet so why does it not work?

Thanx in advance!

Ferry

***edited to remove some CSS that was causing post to be overly large***

 
New Post 2/13/2006 1:04 PM
User is offline Matthew Donnelly
5 posts
www.mitchandco.com
10th Ranked


Re: Styles not applied??? 
I too am having this issue.  Did you find anything out regarding this?
 
New Post 2/14/2006 1:43 AM
User is offline Ferry Onderwater
5 posts
10th Ranked


Re: Styles not applied??? 

Hmm, I did resolve this myself shortly after posting the first message but forgot to post the solution. I really can't remember. What I dó remember is this isn't some kind of bug. It had to do with my understanding of how it should work. How does this help you? Not much I'm afraid. But I'll tell you how I do this now without a problem, maybe that helps.

First I create the style in the stylesheet you can edit from within DNN (Admin, Site Settings, Style Sheet Editor).

I add the following style:

.MitchAndCo {
  font-family: verdana;
  color: yellow;
  background: blue;
  font-size: 20px;
}

Now I save the Style Sheet, go to an empty page, add a Text/HTML module.

I first enter the text, then select the text I want to have the new style and select that style in the dropdownlist. Unfortunately the effect is not shown in the editor! I have seen solutions for this but since it involves recompilation I decided to live with this.

Now update the module and probably you won't see the style in effect. Since we have changed a stylesheet which is cached you have to refresh the page to see the effect. And voila, it works.

I kind of hoped I would stumble into the old problem again so I could help you better but 'unfortunately' it works. Hope it helps you anyway.

Ferry

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  Styles not applied???
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com
Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net
Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP