In other browsers except IE7 and lower the hr displays a border around the hr tag which I don't want it to.
<!--[if lte IE 7]>
<style type="text/css">
hr {
margin: -3px 0 0 0;
padding: 0;
height: 19px;
border: none;
outline: none;
background: url("img/split.png") center no-repeat;
}
</style>
<![endif]-->
I've tried this solution, but it still appears to have a border around it.
It looks like this:
How do I get rid of it?
Remove border from iframe tag in the webpage could be done by using one of the CSS properties of the iframe tag called frameBorder and set its value to “0”. Syntax: frameBorder = "value"; Note: In the frameBorder property the B letter must be in capital otherwise it will not be recognized by the browser.
The thickness of the hr tag can be set using the height property in CSS.
We can specify the no border property using CSS border: none, border-width : 0, border : 0 properties.
See http://webdesign.about.com/od/beginningcss/a/style_hr_tag.htm
It seems that there is no good way around this problem, only with a hack (using a surrounding div).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With