![]() |
|
|
|||||||
![]() |
ASP Net - iFrame : suppress horizontal scroll bar |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Hi
I'm using an iFrame to enclose another document. The iFrame width is sufficient to hold the enclosed document. When the enclosed document has more data and exceeds the height set for iFrame, both the scroll bars , horizontal and vertical appear. I want to avoid the horizontal scroll bar. If I set the scrolling property to "no", then both the scroll bars don't appear. I tried placing the iFrame tag inside div and setting the scrolling property for iFrame to "no", even that didn't work. Any help is appreciated Regards rjn *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! RJN |
|
|
|
|
#2 |
|
Posts: n/a
|
You can try this CSS. It's IE only, and it doesn't always work
depending on what's being shown in the frame: iframe { overflow-x: hidden; overflow-y: scroll; } You can also set the body of the content shown in the frame to 95% or so: body {width:95%} Have a look at this discussion: http://www.webmasterworld.com/forum21/8756.htm - Jon http://weblogs.asp.net/jgalloway jongalloway |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| print all the contents of the iframe | lebohang | The Lounge | 0 | 03-04-2009 07:50 AM |
| how to access iframe from an aspx page | eyal1234 | Software | 1 | 07-22-2008 10:57 AM |
| How to load Two iframe in one aspx page? | pratima | Software | 2 | 02-02-2008 03:17 AM |
| IFRAME and Video | stunbunny | General Help Related Topics | 0 | 12-03-2007 06:26 PM |
| lost my scroll bar in outlook express where my emails are | Linda Sanders | Software | 2 | 09-03-2006 04:19 AM |