Adding print feature to a GWT app

Enable print: I was able to add print feature to a GWT app by using gwt-print-it library. I used last example in the documentation to get the printing to work (see included code fragment below). Print.it(“<!DOCTYPE HTML PUBLIC ‘-//W3C//DTD HTML 4.01//EN’ ‘http://www.w3.org/TR/html4/strict.dtd’>&#8221;, “<link rel=StyleSheet type=text/css media=paper href=/paperStyle.css>”, RootPanel.get(“myId”)); I had to use absolute URLs instead of […]

Advertisement

Read more "Adding print feature to a GWT app"

Width issue in IE

Somehow IE refuse to display properly with width:auto. FF and Safari had no problem with this property and displayed correct width size to match content. IE would set the width size to 1 pixel wide. Fortunately, I came across this post. Thanks to orcrist’s recommendation, removing the width attribute fixed the issue for me on […]

Read more "Width issue in IE"

IE Specific CSS

This blog post saved my day. I was able to keep a page look relatively the same by using browser specific css definitions. Maintaining separate css definitions is undesirable, but necessary to work within the current situation.

Read more "IE Specific CSS"