diff --git a/400-SOURCECODE/AIAHTML5.Web/content/css/print-Portrait.css b/400-SOURCECODE/AIAHTML5.Web/content/css/print-Portrait.css new file mode 100644 index 0000000..569cbf9 --- /dev/null +++ b/400-SOURCECODE/AIAHTML5.Web/content/css/print-Portrait.css @@ -0,0 +1,33 @@ +@page { + size: portrait; + margin: 0; +} +#printDivContent { + border: 2px solid black; + border-radius: 10px; + width: 85%; + height: 85%; + padding: 15px; + margin: 15px; + /*position: absolute; + margin: 0 auto; + text-align: center; + top: 5%; + left: 5%;*/ + position: fixed; + top: 50%; + left: 50%; + /* bring your own prefixes */ + transform: translate(-50%, -50%); +} + +#dvPortrait { + width: 100%; + /*display: table;*/ + margin: 0 auto; +} +/*@page { + /*size: A4;*/ + /*margin: 0;*/ /*IMPORTANT*/ /* REMOVE PAGE HEADER - TITLE/ FOOTER - PAGE NUMBER [Change- 1]*/ + /*size: auto; /* REMOVE PAGE HEADER - TITLE/ FOOTER - PAGE NUMBER [Change- 2]*/ + /* }*/ \ No newline at end of file