93b1d8fa595d964a2511cb6d42b8d49fe4a92ade
API/CodeSamples/ReportDesigner.md
| ... | ... | @@ -64,65 +64,54 @@ Alternately, you can use the [[CssUrl|http://wiki.izenda.us/FAQ/Questions/Overri |
| 64 | 64 | <cc1:adhocreportdesigner id="Adhocreportdesigner1" runat="server"> |
| 65 | 65 | </cc1:adhocreportdesigner> |
| 66 | 66 | </form> |
| 67 | - <!--Place your style tag here--> |
|
| 68 | - </div> |
|
| 69 | -</asp:Content> |
|
| 70 | - |
|
| 71 | -<style type='text/css'> |
|
| 67 | + /* Custom styles for report designer */ |
|
| 68 | + <style type="text/css"> |
|
| 69 | + body { |
|
| 70 | + font-size: 20px; |
|
| 71 | + font-family: Tahoma; |
|
| 72 | + color: red; |
|
| 73 | + } |
|
| 72 | 74 | |
| 73 | -/* Custom styles for report designer */ |
|
| 74 | -/* Place this whole <style></style> section right after the </form> tag */ |
|
| 75 | + select { |
|
| 76 | + font-size: 18px; |
|
| 77 | + font-family: Tahoma; |
|
| 78 | + color: blue; |
|
| 79 | + } |
|
| 75 | 80 | |
| 76 | -body |
|
| 77 | -{ |
|
| 78 | -font-size: 20px; |
|
| 79 | -font-family: Tahoma; |
|
| 80 | -color: red; |
|
| 81 | -} |
|
| 81 | + /* You must use expressions in IE for input elements */ |
|
| 82 | + INPUT { |
|
| 83 | + color: expression(this.type== "button" ? 'red' : 'yellow' ); |
|
| 84 | + } |
|
| 82 | 85 | |
| 83 | -select |
|
| 84 | -{ |
|
| 85 | -font-size: 18px; |
|
| 86 | -font-family: Tahoma; |
|
| 87 | -color: blue; |
|
| 88 | -} |
|
| 86 | + /* For Mozilla and the rest, IE ignores this tag */ |
|
| 87 | + input[type="button"] { |
|
| 88 | + font-size: 12px; |
|
| 89 | + font-family: Tahoma; |
|
| 90 | + color: yellow; |
|
| 91 | + } |
|
| 89 | 92 | |
| 90 | -/* You must use expressions in IE for input elements */ |
|
| 91 | -INPUT |
|
| 92 | -{ |
|
| 93 | -color: expression(this.type== "button" ? 'red' : 'yellow' ); |
|
| 94 | -} |
|
| 93 | + /* Preview tab css settings for the html report preview, it will NOT show this way in report viewer */ |
|
| 95 | 94 | |
| 96 | -/* For Mozilla and the rest, IE ignores this tag */ |
|
| 97 | -input[type="button"] |
|
| 98 | -{ |
|
| 99 | -font-size: 12px; |
|
| 100 | -font-family: Tahoma; |
|
| 101 | -color: yellow; |
|
| 102 | -} |
|
| 95 | + tr.ReportItem td { |
|
| 96 | + border-style: solid; |
|
| 97 | + border-width: 1px; |
|
| 98 | + font-size: 18pt; |
|
| 99 | + vertical-align: top; |
|
| 100 | + } |
|
| 103 | 101 | |
| 104 | -/* Preview tab css settings for the html report preview, it will NOT show this way in report viewer */ |
|
| 102 | + table.ReportTable td { |
|
| 103 | + border-style: solid; |
|
| 104 | + border-width: 0px; |
|
| 105 | + font-family: tahoma; |
|
| 106 | + } |
|
| 105 | 107 | |
| 106 | -tr.ReportItem td |
|
| 107 | -{ |
|
| 108 | -border-style: solid; |
|
| 109 | -border-width: 1px; |
|
| 110 | -font-size: 18pt; |
|
| 111 | -vertical-align: top; |
|
| 112 | -} |
|
| 113 | -table.ReportTable td |
|
| 114 | -{ |
|
| 115 | -border-style: solid; |
|
| 116 | -border-width: 0px; |
|
| 117 | -font-family: tahoma; |
|
| 118 | -} |
|
| 119 | -table.ReportTable td |
|
| 120 | -{ |
|
| 121 | -border-color: Black; |
|
| 122 | -} |
|
| 123 | -tr.ReportItem |
|
| 124 | -{ |
|
| 125 | -color: Black; |
|
| 126 | -} |
|
| 127 | -</style> |
|
| 108 | + table.ReportTable td { |
|
| 109 | + border-color: Black; |
|
| 110 | + } |
|
| 111 | + tr.ReportItem { |
|
| 112 | + color: Black; |
|
| 113 | + } |
|
| 114 | + </style> |
|
| 115 | + </div> |
|
| 116 | +</asp:Content> |
|
| 128 | 117 | ``` |
| ... | ... | \ No newline at end of file |