Shoutbox

[Help] IE is being stupid - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: [Help] IE is being stupid (/showthread.php?tid=64065)

[Help] IE is being stupid by andrewdodd13 on 07-26-2006 at 07:11 PM

I've got a website I'm currently trying to design for the school I currently go to, and it's coming along quite nicely.

I've made it conform to specifications and stuff, but I'm having a slight problem with Internet Explorer displaying my tables correctly.

I've set border-spacing: 0px; and padding: 0px; in the stylesheet, and this works fine in Firefox:

[Image: fxju9.th.jpg]

But in Internet Explorer, it looks like this:
[Image: ieqb4.th.jpg]

Anyone know of a fix (without using cellpadding and cellspacing= as they're not W3C Compatible.. :()

Note: Ignore the crappy news articles, that's just me and another moderating testing it. And Doddie... he's a friend, not me :)


RE: [Help] IE is being stupid by hmaster on 07-26-2006 at 07:14 PM

Have you got a link where we can see a working example, and see the source?


RE: [Help] IE is being stupid by Veggie on 07-26-2006 at 07:15 PM

http://plhs.no-ip.org


RE: [Help] IE is being stupid by hmaster on 07-26-2006 at 07:17 PM

Thanks :)
try:

code:
td, tr {
padding:0px; }

RE: [Help] IE is being stupid by andrewdodd13 on 07-26-2006 at 07:57 PM

Ahh, thanks :)

And... oooh that link wasn't supposed to work... the Apache service on my PC has been stopped for like 2hrs 0_o

And... it didn't work. Any other suggestions? (I tried border-spacing: collapse; as well)

Stylesheet
Main Page


RE: [Help] IE is being stupid by hmaster on 07-26-2006 at 08:33 PM

Don't know the problem but when you remove the <th></th> property the padding goes back to nothing. Try using <span class="article_header"></span> instead.


RE: [Help] IE is being stupid by andrewdodd13 on 07-26-2006 at 08:49 PM

That breaks the validation unfortunatly (span elements aren't allowed outside tr or something) so basically I've taken a "screw-IE" view, since apparently it's fixed in IE7.


RE: [Help] IE is being stupid by Plik on 07-26-2006 at 08:52 PM

Have you tried setting the headers margin to 0?

quote:
Originally posted by hmaster
Try using <span class="article_header"></span> instead.

It would make more sense to use a header element (e.g. h2) to replace it, because then you are still marking that element as a header for something. Nothing major but its for sematics sake :P
RE: [Help] IE is being stupid by hmaster on 07-26-2006 at 08:54 PM

quote:
Originally posted by andrewdodd13
That breaks the validation unfortunatly (span elements aren't allowed outside tr or something) so basically I've taken a "screw-IE" view, since apparently it's fixed in IE7.
Im using IE7 BETA 3 and it is not fixed :^)

RE: RE: [Help] IE is being stupid by andrewdodd13 on 07-26-2006 at 09:06 PM

quote:
Originally posted by hmaster
quote:
Originally posted by andrewdodd13
That breaks the validation unfortunatly (span elements aren't allowed outside tr or something) so basically I've taken a "screw-IE" view, since apparently it's fixed in IE7.
Im using IE7 BETA 3 and it is not fixed :^)


Microsoft = Crap.

I guess I'm gonna have to spam "Get Firefox" stickers all over my site.

[For now, I've given in and used cellspacing]
RE: [Help] IE is being stupid by Adeptus on 07-26-2006 at 10:12 PM

quote:
Originally posted by andrewdodd13
I tried border-spacing: collapse; as well
You were very close.  It's "border-collapse: collapse;" and it does, indeed, fix your problem (tested with IE 6).