R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
Applying style on Module
Last Post 16 Apr 2011 10:53 AM by milyunk. 2 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
sanjayUser is Offline
New Member
New Member
Posts:1

--
22 May 2006 08:18 AM  

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.

bgatesUser is Offline
Basic Member
Basic Member
Posts:196

--
06 Jun 2006 04:39 AM  
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<br>Business Intelligence Force, Inc. (<a href="http://dnn.bi4ce.com"><b>bi4ce</b></a>)
milyunkUser is Offline
New Member
New Member
Posts:28

--
16 Apr 2011 10:53 AM  
www.nukewizard.net
is 100%FREE website for dnn skins and also modules
JUST REGISTER(100%free) Login and Download
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share