Archive
Highlighted

changing font size on iframe

Explorer

Hi,
I want to embed the outcome of Jenkins latest version(https://updates.jenkins.io/stable-2.204/latestCore.txt) in a splunk dashboard and change the font size. I can change the background color but I couldn't find a way of changing the text size. Any ideas?

  <dashboard>
       <row>
         <panel>
            <html>
     <iframe  style="background: "#FF0000" src="https://updates.jenkins.io/stable-2.204/latestCore.txt">></iframe>
    </html>
          </panel>
       </row>
    </dashboard>
0 Karma
Highlighted

Re: changing font size on iframe

Motivator

you cannot modify the content of an external resource. You cannot do this because of cross-site scripting restrictions.

If the html file that you're trying to embed under your control then change it in the source.

the other option is to write the html body using javascript

0 Karma