<hr>'s border won't go away in ie7

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

<hr>'s border won't go away in ie7

Post by Luke »

For some reason this isn't getting rid of the border on an <hr> in ie7... why?

Code: Select all

hr {

    border: 0;

}
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Yeah, I don't like the <hr /> element. It doesn't have regular CSS attributes in IE.

Try using a div with a height of one pixel or something. That what I did (granted, it was long ago).
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

yea that's what I did. I swear by all that's holy. I HATE IE.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Well, Internet Explorer, in comparison to the available major browsers, sucks.
However, it wouldn't be a big deal at all if it didn't have so many users.
And if Microsoft hadn't forced IE upon unsuspecting Windows users, IE would have considerably less users.
And if Windows wasn't so widely used, Microsoft wouldn't be able to make IE so common.

If it didn't have so many users, Microsoft wouldn't feel that they could create their own standards.
So... you could generalize it to just hating Microsoft and it's cockiness. :lol:
toasty2
Forum Contributor
Posts: 361
Joined: Wed Aug 03, 2005 10:28 am
Location: Arkansas, USA

Post by toasty2 »

You'd think in version 7 that they'd have it up to standards and stuff. Instead they copied tabs from Firefox and thats pretty much it.
thiscatis
Forum Contributor
Posts: 434
Joined: Thu Jul 20, 2006 11:00 am

Post by thiscatis »

In the end you still have to make sure it shows up pretty decent in IE too, a lot of clients haven't even heard of Firefox or Opera.

try border: none
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

thiscatis wrote:In the end you still have to make sure it shows up pretty decent in IE too, a lot of clients haven't even heard of Firefox or Opera.

try border: none
I believe that border: none; and border: 0; are equivalent.
thiscatis
Forum Contributor
Posts: 434
Joined: Thu Jul 20, 2006 11:00 am

Post by thiscatis »

Could be, but I remember having an issue like that (not with hr) and replacing the 0 with none fixed it,
I am permitted to share my experiences here or do I have to send you a PM first?
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

thiscatis wrote:Could be, but I remember having an issue like that (not with hr) and replacing the 0 with none fixed it,
I am permitted to share my experiences here or do I have to send you a PM first?
:lol: No, not at all. Be my guest.
I didn't mean to offend. 8)
Post Reply