I want to change the shape of the iFrame section from rectangular to my own custom shape:
<html>
<body>
<p>dfsdfsdf</p>
<iframe src="http://forum.jquery.com/topic/jquery-mobile-and-iframes-to-load-external-websites">
<p>Your browser does not support iframes.</p>
</iframe>
</body>
</html>
How can I do that?
iframesare always rectangular. There’s no way to change that.In general though you might want to look at transparency, z-index and absolute positioning as a possible workaround depending on what you’re hoping to achieve.