0

Hello everyone, I have a little dilemma. I have a css that controls a transparent gif and it works fine in FF, but in IE, I get a white border.

Below is my CSS for the button.

#sendbutton
{
 position: absolute;
 background: url(images/send_button97.gif) no-repeat;
 border:none;
 font-size: 13px;
 text-align: center;
 background-color:none;
 color:#FFFFFF;
 left: 680px;
 top: 480px;
 width: 168px;
 height: 68px;
 -moz-outline-style:none;
 -moz-focus-inner:none;
 filter:alpha(opacity=60);
 -moz-opacity:0.1;
 -khtml-opacity: 0.1;
  opacity: 1.0;
}

How do I correct the IE version?

Edited by peter_budo: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks)

Attachments firefox_version.JPG 23.06 KB ie_version.JPG 24.29 KB
5
Contributors
6
Replies
7
Views
7 Years
Discussion Span
Last Post by ozman26
0

try checking each CSS attribute with the w3 and see which one is not compatible with IE.

and also, I really don't like the background-color: none;

check these guys, they are not very common:

-moz-outline-style:none;
-moz-focus-inner:none;
filter:alpha(opacity=60);
-moz-opacity:0.1;
-khtml-opacity: 0.1;
opacity: 1.0;

0

Is this php? Perhaps you'd have better luck in the correct forum. Try web design/html and css. Sorry theighost - no disrespect - good advice.

Edited by diafol: n/a

0

Is this php? Perhaps you'd have better luck in the correct forum. Try web design/html and css. Sorry theighost - no disrespect - good advice.

No disrespect taken :) I forgot this is php :P

0

What IE version?

(flagged to move)

Edited by n_e: n/a

0

Thanks all, but I solved my own problem with a little experimenting. The following solved my issue.

<input type="submit" id="sendbutton" name="submit" onfocus="blur()" value="Send" style="position: absolute; background-color:transparent" />

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.