positionner une page html dans un iframe avec la css
Astuce intéressante pour positionner une page html à l'intérieur d'un iframe (trouvé sur http://answers.yahoo.com/question/index?qid=20090713155541AAiNtL1 )<style type="text/css">
#outerdiv
{
width:446px;
height:246px;
overflow:hidden;
position:relative;
}
#inneriframe
{
position:absolute;
top:-412px;
left:-318px;
width:1280px;
height:1200px;
}
</style>
</head>
<body>
<div id='outerdiv'>
<iframe src="http://www.yahoo.com/" id='inneriframe' scrolling=no></iframe>
</div>
Les commentaires sont fermés pour cet article