animgirl
08-05-2005, 11:22 AM
Hello,
I have discovered an odd bug in IE.
I am working on a website and want to have a custom <hr> tag that contains a background image.hr {
background: transparent url(line.gif) no-repeat;
height:20px;
width:454px;
border:0;
text-decoration: none;
}
This works great in Firefox, but has an inset border around it in IE. I have tried many different methods, but none seem to take this border away. I've read around online and it seems the only way to be rid of it is to surround my <hr> tags with divs (source (http://www.sovavsiti.cz/css/hr.html)).
I would like to try and find a different method that wouldn't require me going through all of my code to add a div property, besides the curiosity of finding another way.
Thank you in advance,
Elise
I have discovered an odd bug in IE.
I am working on a website and want to have a custom <hr> tag that contains a background image.hr {
background: transparent url(line.gif) no-repeat;
height:20px;
width:454px;
border:0;
text-decoration: none;
}
This works great in Firefox, but has an inset border around it in IE. I have tried many different methods, but none seem to take this border away. I've read around online and it seems the only way to be rid of it is to surround my <hr> tags with divs (source (http://www.sovavsiti.cz/css/hr.html)).
I would like to try and find a different method that wouldn't require me going through all of my code to add a div property, besides the curiosity of finding another way.
Thank you in advance,
Elise