SimplePortal

Customization => Custom Coding => Topic started by: processor on June 24, 2014, 06:14:50 AM

Title: HTML Blocks show scrollbars when Iframes are used?
Post by: processor on June 24, 2014, 06:14:50 AM
Why do html Blocks when i put in them for example a iframe Facebook box show scrollbars even thought iframes have scrolling="no" frameborder="0" style="overflow:hidden;" etc.

I think it has something to do with how Blocks are made...any guess how to prevent that? Also this only happens in Internet Explorer.
Title: Re: HTML Blocks show scrollbars when Iframes are used?
Post by: Burke Knight on June 24, 2014, 07:08:16 AM
Iframes are usually not recommended by web designers, for just this issue.
IE especially, has issues with them.

Here's something to try:
If doing for a 468x60 banner ads, you can use this for the block:

Code: [Select]
<iframe src="http://www.YOURSITE.COM/PAGE.php" name="banner" width="500" marginwidth="0" height="75" marginheight="0" align="top" scrolling="No" frameborder="0" hspace="0" vspace="0">Browser not compatible. </iframe>
SimplePortal 2.3.8 © 2008-2024, SimplePortal