I'm currently working on adapting a webpage for a Facebook tab. I've created a new page for the tab and successfully loaded the content from the targeted webpage. Everything is going smoothly, but I'm facing an issue with resizing this content to fit 810px.
HTML:
<html>
<head>
<meta charset='utf-8'>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/facebook-tab.js"></script>
</head>
<body>
<div id="facebook-contant">
</div>
</body>
</html>
jQuery:
$(document).ready(function(){
$( "#facebook-contant" ).load('recommendations.html #rec-board-holder');
});
Any suggestions on how to adjust the size of the loaded content?