Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iframe without scrolling bars

Status
Not open for further replies.

davikokar

Technical User
May 13, 2004
523
IT
Hallo,
I have a page with an inline frame. The page in the inline frame is bigger than the inline frame itself, but I would like the iframe not to display the scrollbars. I tried with overflow hidden but the scrollbars are still there. Do you know how to do it?

the html:
<td><iframe name="cwindow" style="border:0px;overflow:hidden;" src="page1.htm"></iframe></td>
 
According to W3C attribute scrolling exists for iframes. It defaults to auto, but you can supress scrolling by issuing scrolling="no" in iframe tag. Failing that, try to use overflow: hidden; on body tag of the document loaded in iframe.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top