S
SpreadTooThin
I found a nice piece of CSS for my tables in my application.
I'm just starting out on CSS and want to expand this class
I need a row at the top of my table with two columns.
The first is just text "The name of the report"... the last column on
the row is a bitmap image.
(I guess it should be twice as high as the table header that is
defined at the moment....
There may be more than two columns in the report...
This is the CSS (In VB script):
mCSS =_
"<style type=" +chr(34) + "text/css" + chr(34) + ">" +_
"#customers" +_
"{" +_
"font-family:" + chr(34) + "Trebuchet MS" + chr(34) + ",
Arial, Helvetica, sans-serif;" +_
"width:100%;" +_
"border-collapse:collapse;" +_
"}" +_
_
"#customers td, #customers th" +_
"{" +_
"font-size:1em;" +_
"border:1px solid #98bf21;" +_
"padding:3px 7px 2px 7px;" +_
"}" +_
_
"#customers th" +_
"{" +_
"font-size:1.1em;" +_
"text-align:left;" +_
"padding-top:5px;" +_
"padding-bottom:4px;" +_
"background-color:#A7C942;" +_
"color:#ffffff;" +_
"}" +_
_
"#customers tr.alt td" +_
"{" +_
"color:#000000;" +_
"background-color:#EAF2D3;" +_
"}" +_
"</style>"
I'm just starting out on CSS and want to expand this class
I need a row at the top of my table with two columns.
The first is just text "The name of the report"... the last column on
the row is a bitmap image.
(I guess it should be twice as high as the table header that is
defined at the moment....
There may be more than two columns in the report...
This is the CSS (In VB script):
mCSS =_
"<style type=" +chr(34) + "text/css" + chr(34) + ">" +_
"#customers" +_
"{" +_
"font-family:" + chr(34) + "Trebuchet MS" + chr(34) + ",
Arial, Helvetica, sans-serif;" +_
"width:100%;" +_
"border-collapse:collapse;" +_
"}" +_
_
"#customers td, #customers th" +_
"{" +_
"font-size:1em;" +_
"border:1px solid #98bf21;" +_
"padding:3px 7px 2px 7px;" +_
"}" +_
_
"#customers th" +_
"{" +_
"font-size:1.1em;" +_
"text-align:left;" +_
"padding-top:5px;" +_
"padding-bottom:4px;" +_
"background-color:#A7C942;" +_
"color:#ffffff;" +_
"}" +_
_
"#customers tr.alt td" +_
"{" +_
"color:#000000;" +_
"background-color:#EAF2D3;" +_
"}" +_
"</style>"