The CSS property that deals with a document larger than the viewport is overflow .
This is commonly used to create a scrollable div , as shown in this example .
The value you are looking for is: hidden , which will freeze the area outside the visible range. Something like:
<iframe style="overflow:hidden;" src="URL" />
The widget should look good
So, for CSS properties, you can:
overflow:hidden; border:none; width:100px; height:25px;"
And for iframe properties that you probably want:
scrolling="no" frameborder="0" allowTransparency="true"
Read on to understand what they are doing, but they are common to widgets , like what you describe in your question. Together they must create a beautiful widget.
Vasiliy Sharapov
source share