I am having problems using CSS with the following iframe that displays a rotating banner exchange image and was wondering if someone might see something I am missing:
<iframe src=" width="468" height="60" scrolling="no" frameborder="0" marginheight="0" marginwidth="0" vspace="0" hspace="0"><br></iframe>
I have tried using the following CSS as both a named class and a <div> with the iframe, without too much luck:
iframe{
display: block;
padding: 0;
margin-bottom:auto;
margin-top: auto;
margin-left: auto;
margin-right: auto;
width: 468px;
height:60px;
border:none;
overflow:hidden;
}
The size (even-though, I used the original dimensions) is not correct and the banner is not centered in the iframe. Also, the scrollbars appear.
I was wondering if I could replace the iframe with an < a href...></a>. Also, does anyone have an idea why the "&size=2" is passed on with the php?
Any help and or suggestions are appreciated. Thanks... Ronnie
<iframe src=" width="468" height="60" scrolling="no" frameborder="0" marginheight="0" marginwidth="0" vspace="0" hspace="0"><br></iframe>
I have tried using the following CSS as both a named class and a <div> with the iframe, without too much luck:
iframe{
display: block;
padding: 0;
margin-bottom:auto;
margin-top: auto;
margin-left: auto;
margin-right: auto;
width: 468px;
height:60px;
border:none;
overflow:hidden;
}
The size (even-though, I used the original dimensions) is not correct and the banner is not centered in the iframe. Also, the scrollbars appear.
I was wondering if I could replace the iframe with an < a href...></a>. Also, does anyone have an idea why the "&size=2" is passed on with the php?
Any help and or suggestions are appreciated. Thanks... Ronnie