473,386 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

frameborder and allowtransparency in CSS

Expand|Select|Wrap|Line Numbers
  1.  
  2. <style type="text/css">
  3. ..iframe {
  4. position: absolute;
  5. top: 110px;
  6. left: 712px;
  7. z-index:2;
  8. filter:"progid:DXImageTransform.Microsoft.Alpha(style=0, opacity=0)";
  9. }
  10. </style>
  11.  
  12. <iframe frameborder="0" class="iframe"
  13. allowtransparency="true"></iframe>
  14.  
  15.  
Is there a way to put both the frameborder="0" and the
allowtransparency="true" into the CSS styling class 'iframe'???

Apr 7 '06 #1
2 18127
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/frame...ames-with-css/

Apr 7 '06 #2
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]-->

cr******@aol.com wrote:
Expand|Select|Wrap|Line Numbers
  1.  <style type="text/css">
  2.  .iframe {
  3.  position: absolute;
  4.  top: 110px;
  5.  left: 712px;
  6.  z-index:2;
  7.  filter:"progid:DXImageTransform.Microsoft.Alpha(style=0, opacity=0)";
  8.  }
  9.  </style>
  10.  <iframe frameborder="0" class="iframe"
  11.  allowtransparency="true"></iframe>
  12.  

Is there a way to put both the frameborder="0" and the
allowtransparency="true" into the CSS styling class 'iframe'???


Apr 8 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: pacman1897 | last post by:
Hello The validator of w3c tells me : 1. Line 9, column 22: there is no attribute "FRAMEBORDER" (explain...). <frameset frameborder="0" rows="41,*"> And on the page :...
0
by: Jürgen Riemer | last post by:
hi, is there a possibilty to set the frameborder in a stylesheet? <iframe frameborder="0" framespacing="0" border="0"></iframe> works just fine, no border is shown, but can I do this by...
5
by: alexandre damiron | last post by:
The following Addel function renders a new line on Mozilla but nothing on IE 6 , yet no error is parsed neither on IE nor Mozilla. Any explanation ? Thanks a lot. <html> <head> <title>Mozilla...
2
by: JS | last post by:
Hi all, Im having some troubles with layers on a site im developing. I have two layers one has an image of an artists palette on it and each blob of paint is a link to a page on the site. That...
2
cassbiz
by: cassbiz | last post by:
Our old machine was hacked and I need to remove a line from just about every *.htm*, *.php, *.cgi, etc... file the lines that I need to remove are I have read up on gawk but most of the stuff I...
6
by: howa | last post by:
Hello, Is it possible to set framrborder, scrolling properties using pure CSS? I come up with something like: <iframe style="height:80px;width:180px;border:0;margin:0;padding:0"...
3
by: nero | last post by:
Hello group... I have a page that I'm building out that has a main area and I've used iframes in various different templates...so far so good...until now. here's the javascript: <script...
1
by: divinechick | last post by:
Hi, went to freewebs css editor and pasted my code: <STYLE type="text/css"> <!--BODY {scrollbar-face-color: #fffffff; scrollbar-highlight-color: #867955; scrollbar-3dlight-color: #867955;...
1
by: ojsimon | last post by:
Hi I am having a problem fixing a bug with my site, which affects both IE and Opera, but does not affect Safari, Firefox or any other browser that i know of. the affected part goes like this. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.