Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Adding Logo / Photo to CSS body in Powershell

$
0
0

Howdy,

I wrote a script that collect information about Lync Environment and send it as HTML via email

I was wondering if it's possible to add the company logo to the Beginning of the HTML report top left for example before the content of the report.

my $head code i'm using is

$head = @'<style>

body { background-color:#ffffff;
       font-family:Times New Roman;
       font-size:12pt;
       color:#167be0; }

td, th { background-color:#005fbf;
         color:#ffffff;
         border:2px solid black;
         border-collapse:collapse;
         }

th { color:white;

     background-color:black; }

table, tr, td, th { padding: 2px; margin: 0px }

table { margin-left:50px; }

</style>

'@

Regards,

T


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>