Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 


 
Microsoft Gold Certified Partner - DNN Benefactor

DotNetNuke Powered! 


Monday, December 01, 2008 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
General
We aren't shy - our skins are always on public display! Post your questions and comments in this discussion forum.
Subject: Applying style on Module
You are not authorized to post a reply.
 
Author Messages
sanjay
Flyweight
Posts:1

05/22/2006 3:18 AM Alert 

hi

i have a print button on my page, that page contain more than one module.
I need to change the CSS of all the module, present in the page, when user click on the print button. i made one css file that contain some style for all kind of control, which i want to apply in my page on clicking of print button.

how can i implement this type of functionality??

Plz help me. Its very urgent.

Thx in advance.

bgates
Heavyweight
Posts:197

06/05/2006 11:39 PM Alert 
If you're looking to make it printable, there's a pretty simple solution. CSS supports the "media" attribute in the LINK tag. That allows you to define two different CSS files; one for displaying and the other for when the browser is printing. Just add this to the top of your skin:

<LINK rel="stylesheet" type="text/css" media="print, handheld" href="foo.css">


Take a look at W3 - CSS - Media Types for more information. Hope this helps

Bob Gates
Business Intelligence Force, Inc. (bi4ce)
You are not authorized to post a reply.
Forums > Bi4ce.Skins > General > Applying style on Module



ActiveForums 3.6
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation