Iframe background image or color

jamarsch
Kilo Explorer

I would like to either have a background image that displays in an Iframe or change the background color of an iframe from white to some other color

16 REPLIES 16

Was just about to ask the same   John, the buttons you mention that display data in the iFrame most likely have a tag such as <a href="some url" target="iframe name">CLICK HERE</a> as shown HTML iframe name Attribute.   This url in the anchor tag is the html page being displayed inside the iFrame.   That page is where you would want to apply the styling to achieve the desired background.


Travis



the buttons refernces the url and it is "/MIT_ServiceNow_info/ServiceNow_Home_Page_jsr.do"




the target is of course the iframe Target "jsruss5_Iframe2"



For each button there is a different url.



If the url need the background-image in it as part of a tag what?



John Marsch


ok so in the page "ServiceNow_Home_Page_jsr.do" you want to add the style


BODY,HTML{


        background-color:#acacac !important;


}


SEE BELOW FOR IN RED is that also ok?


I am not sure i follow you on this. please explain...