RSS RSS feed | Atom Atom feed | |

Transforming XML in an IFRAME without scroll bars

Eliminate those default scroll bars to clean up you pages

Including XML transformed by XSL-T is a good way to include content in your pages, but Internet Explorer puts a scroll bar on the right side if it is needed or not. Here is how to get rid of them so the content appears to be part of your page.

Here is an example of the problem:

Simply add scroll="no" to the body tag in your XSL file. This will get rid of that annoying nonfunctional scroll bar.

And here the bars are gone:

Tags :



Add a comment Send a TrackBack