Hi
Can someone give me the CSS equivalents of scroll, frameborder and scrolling for an iframe please?
any help would be appreciated.
Thanks,
BrewI don't think I quite understand what you are looking for.
<style type="text/css">
iframe
{overflow:auto; border:solid 1px #f00;}
</style>
Maybe....Thanks for the reply soccer362001...
The problem I have is this code doesnt validate:
<iframe scroll=no frameborder=0 scrolling=no src=http://www.webdeveloper.com/forum/archive/index.php/"http://PlayAudioMessage.com/play.asp?m=135209&f=LRLGSF&ps=13&c=FFFFFF&pm=2&h=25"></iframe>
when I use the following doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Thanks for your help
Brew<style type="text/css">
iframe
{overflow:hidden;}
</style>Thanks again...
I've tried the code, and it looks good in FireFox.... but in IE I get scrollbars - how do I remove these?
BrewIn the page that the iframe displays put the code I posted previously.I've done that....
Here is the page where I have the problem: <!-- m --><a class="postlink" href="http://www.instanthypnotherapy.com/index.php?main_page=product_info&products_id=13">http://www.instanthypnotherapy.com/inde ... ucts_id=13</a><!-- m -->
Thanks,
BrewTry changing the height and width of the Iframe.I tried that, but it simply resized the iframe and left the scrollbars intact....
Brewtry overflow-x:hidden;I tried that too
BrewTry taking margin: 5px; outJust in case someone stumbles on this message looking for a solution to this problem, I found it
There is no property "scroll" for the iframe, and all values must be encapsulated in double quotes. See here:
<iframe frameborder="0" scrolling="no" src=http://www.webdeveloper.com/forum/archive/index.php/"http://PlayAudioMessage.com/play.asp?m=135209&f=LRLGSF&ps=13&c=FFFFFF&pm=2&h=25"></iframe>
Hope someone finds this useful
Brew
Can someone give me the CSS equivalents of scroll, frameborder and scrolling for an iframe please?
any help would be appreciated.
Thanks,
BrewI don't think I quite understand what you are looking for.
<style type="text/css">
iframe
{overflow:auto; border:solid 1px #f00;}
</style>
Maybe....Thanks for the reply soccer362001...
The problem I have is this code doesnt validate:
<iframe scroll=no frameborder=0 scrolling=no src=http://www.webdeveloper.com/forum/archive/index.php/"http://PlayAudioMessage.com/play.asp?m=135209&f=LRLGSF&ps=13&c=FFFFFF&pm=2&h=25"></iframe>
when I use the following doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Thanks for your help
Brew<style type="text/css">
iframe
{overflow:hidden;}
</style>Thanks again...
I've tried the code, and it looks good in FireFox.... but in IE I get scrollbars - how do I remove these?
BrewIn the page that the iframe displays put the code I posted previously.I've done that....
Here is the page where I have the problem: <!-- m --><a class="postlink" href="http://www.instanthypnotherapy.com/index.php?main_page=product_info&products_id=13">http://www.instanthypnotherapy.com/inde ... ucts_id=13</a><!-- m -->
Thanks,
BrewTry changing the height and width of the Iframe.I tried that, but it simply resized the iframe and left the scrollbars intact....
Brewtry overflow-x:hidden;I tried that too
BrewTry taking margin: 5px; outJust in case someone stumbles on this message looking for a solution to this problem, I found it
There is no property "scroll" for the iframe, and all values must be encapsulated in double quotes. See here:
<iframe frameborder="0" scrolling="no" src=http://www.webdeveloper.com/forum/archive/index.php/"http://PlayAudioMessage.com/play.asp?m=135209&f=LRLGSF&ps=13&c=FFFFFF&pm=2&h=25"></iframe>
Hope someone finds this useful
Brew