나는 html 페이지에서 iframe을 호출하고 있습니다. 웹 사이트 URL이 있습니다. 로고 위치를 변경하고 싶습니다. 나는 패딩을 추가하고 싶습니다. 그래서 웹 사이트 CSS에서 동일한 클래스를 복사하고 내 HTML 페이지에 적용! 중요하지만 작동하지 않습니다.iframe src 페이지의 클래스를 변경할 수 있습니까?
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
/*website class(just for example)
#header_logo {
padding: 29px 0 18px 8px;
}*/
// my class
#header_logo {
padding: 29px 0 18px 50px!important;
}
</style>
</head>
<body>
<iframe width="100%" height="600" allowtransparency="yes" frameborder="0" src="http://airtel.in">
</iframe>
</body>
</html>
내가 확인했습니다 – Carlos
보세요 : http://grasshopperpebbles.com/ajax/using-jquery-to- access-iframe-content에는 문제를 해결하는 데 필요한 튜토리얼 종류의 페이지가 있습니다. –