Categories | Question details Back To List | ||
PrintView and images in Firefox (base href issue) I am having a problem getting images to show up from PrintView() in Firefox. IE is fine. I'm using a relative pathname to the image (ex. images/goitem.bmp). The base href for my page is "http://myurl/fun/". The URL for my page is "http://myurl/cgi-bin/fun.cgi". When PrintView() is executed in Firefox, the base href of that file is "http://myurl/cgi-bin/fun.cgi" and thus the image it tries to display is "http://myurl/cgi-bin/images/goitem.bmp". How can I change this behavior without using a fullpath to the image? Thanks, Rob Answer posted on Dec 04, 2008 02:40 You can use grid.printView("<base href='http://myurl/fun/' />") It will include same base tag on printView page, which must normailize links. |