This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello everyone, I have IFRAMES in a page on Apache, which at some point display jsp pages located on Tomcat. Could someone help me with the following 2 questions? - I'd like to get rid of the scroll bars. Is it possible to turn them off? Say the bars did get turned off and the page that needs to be shown is very long. My concern is that this long page is not going to be fully shown with the scroll bars turned off. Is there anything I could do to make sure the page is fully visible? Thanks in advance.
You can use the overflow style in you CSS for the iframe. Overflow takes values of visible, hidden, scroll, auto and inherit. I it is set to visible, then the content of the iframe will be fully displayed, even if it exceeds the bounds of the iframe. Hidden will hide (clip) any content that is too big for the bounds of the iframe. Scroll is what you seem to not want since it add the scroll bars. Auto will add scroll bars if needed. There are some quirks with this between IE and Mozilla, so be careful and test it. Inherit takes the overflow from the iframe's container.
<a href="http://labryssystems.net/pblog/index.php" target="_blank" rel="nofollow">Javaville Gazette</a><br />Non-cooperation with evil is a duty. -- Mahatma Gandhi