| Author |
frameborder and allowtransparency in CSS
|
|
| crmpicco@aol.com 2006-04-07, 6:44 am |
| [code]
<style type="text/css">
..iframe {
position: absolute;
top: 110px;
left: 712px;
z-index:2;
filter:"progid:DXImageTransform.Microsoft.Alpha(style=0, opacity=0)";
}
</style>
<iframe frameborder="0" class="iframe"
allowtransparency="true"></iframe>
[/code]
Is there a way to put both the frameborder="0" and the
allowtransparency="true" into the CSS styling class 'iframe'???
| |
| Emil Stenström 2006-04-07, 6:45 pm |
| Your question is quite strange but I'm guessing you are using that CSS
on an element inside the iframe you specify below. Iframes are
considered bad practice by most people because of their accessiblity
issues. You would be better off just using server-side includes
instead. To mimic the scrollbars you can have a look at my article on
that subject: http://www.friendlybit.com/css/fram...rames-with-css/
| |
| dwight.stegall@gmail.com 2006-04-08, 6:43 pm |
| setup two different iframe classes for the iframe examples below.
Internet Explorer will load this
<!--{if ie]>
<iframe frameborder="0" class="iframe1"
allowtransparency="true"></iframe>
<![endif]-->
All other browsers will load this
<!--[if ! ie]>
<iframe frameborder="0" class="iframe2"></iframe>
<![endif]-->
crmpicco@aol.com wrote:
> [code]
>
> <style type="text/css">
> .iframe {
> position: absolute;
> top: 110px;
> left: 712px;
> z-index:2;
> filter:"progid:DXImageTransform.Microsoft.Alpha(style=0, opacity=0)";
> }
> </style>
>
> <iframe frameborder="0" class="iframe"
> allowtransparency="true"></iframe>
>
> [/code]
>
> Is there a way to put both the frameborder="0" and the
> allowtransparency="true" into the CSS styling class 'iframe'???
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |