anshooarora / extentreports-csharp

Community version of Extent API for .NET has moved to https://github.com/extent-framework/
http://extentreports.com/
Other
47 stars 43 forks source link

how to add css image? keep getting syntax wrong #39

Closed jloyzaga closed 7 years ago

jloyzaga commented 7 years ago

htmlReporter.Configuration().CSS= "img[src*="pathTo/myImage.jpg"] "

and how to do it using a file with css?

anshooarora commented 7 years ago

To add a file, you would have to use JavaScript.. then you can use CSS to style the image so it fits perfectly in that box.

Example: http://stackoverflow.com/questions/941206/jquery-add-image-inside-of-div-tag

jloyzaga commented 7 years ago

yes but how in theconfig.xml?

On 22/03/2017 2:56 AM, Anshoo Arora wrote:

To add a file, you would have to use JavaScript.. then you can use CSS to style the image so it fits perfectly in that box.

Example: http://stackoverflow.com/questions/941206/jquery-add-image-inside-of-div-tag

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/anshooarora/extentreports-csharp/issues/39#issuecomment-288125247, or mute the thread https://github.com/notifications/unsubscribe-auth/ANPCAwgn_yI-zsflVP9RvD1Q31TmQBoJks5rn_M0gaJpZM4Mh-3d.