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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Print Module - clicking print icon makes page move leftPrint Module - clicking print icon makes page move left
Previous
 
Next
New Post
8/5/2009 11:49 PM
 

I am using the ActionButtons to show a print icon next to my module so that people can click to view a popup of the modules content.

However, in IE7 and IE8 on every site that I test (so far about 5 sites ranging in versions for 4.8.4 to 4.9.4) the original page will lose its left margin and the contents of the page is aligned hard left to the browser.  Firefox doesn't do this and the page looks correct.  From what I can see, it seems to be happening because clicking the print icon does a page reload and for some reason the style: "margin: auto" on one of the top level div elements in the skin,  is being ignored. 

I've tried on various combos of skins and containers that I've brought of snowcovered and even the DNN default - MinimalExtropy.  The same thing happens.  I even tried creating a brand new site and the same thing happens.

I've noticed it before and always just turned off Allow Print but now I need it to work on a site.  I've suprised that I couldn't find any other post about this on the interweb - which makes me think I'm just doing something really silly. 

 
New Post
8/6/2009 5:47 AM
 

This is because the framework injects a script tag above the doctype in DNN 4.

It has been solved in DNN 5 (Issue)

The print page aligns to the left because IE does sees the page as not XHTML complaint and thus the centering does not work.

(you need an XHTML doctype for that in IE)

ATM the only solution would be to upgrade to DNN 5 or use an alternative print skin object like this one:

http://dnnjungle.vmasanas.net/MyModules/SkinObjects/PagePrint/tabid/44/Default.aspx

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Print Module - clicking print icon makes page move leftPrint Module - clicking print icon makes page move left


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