I have a site on which I have an embedded gallery from an external source. However, I need to change some of the styling on the CSS class info-bar and I want to use JQuery to do that. I can see that the object is printing out to the DOM a second document.
If I try and add styling to one of my already existing stylesheets it is flat out ignored.
Here is what I have already tried using JQuery:
$(document).ready(function() {
var info_bar_css = {
"top": "0",
"bottom": "auto"
}
$(".info-bar").css(info_bar_css);
});
This is what the embedded object looks like when it is printed to the DOM:
<object width="100%" height="100%" data="" type="text/html" style="">
#document
<!DOCTYPE html>
<html class="yi3-js-enabled" lang="en-us">
<div id="yui3-css-stamp" class=""></div>
<head></head>
<body class="en-us">
<div class="info-bar">
</body>
</html>