allywilson
Technical User
I've been coming across this problem for a while now and it's part of the reason I don't fully use XML/XSL for web designing at the moment...
Basically the problem is that when I have the following in my XSL document <table cellspacing="0" cellpadding="0">... the output doesn't actually look like no cellspacing/cellpadding. It DOES in internet explorer, but in every other browser I've tried it seems to give it some spacing/padding. I mainly use firefox (doesn't everyone these days?) by the way.
It's not that it's ignoring the attributes, but it's giving them a value other than zero. If I increase it to 1 or 2 then you can see the difference, if I change it to -1 or -2 it doesn't help.
It's only when used in an XSL document it does this however. If you wrote that same line in a plain HTML doc it'd work fine. Now...I know it's not my browser/system 'cause I've got 2 dual-boot PCs (XP and Gentoo on one, 2K and Mandrake on another!).
The only reason I can think of is that IE displays it fine due to it not really caring if it conforms to W3 standards or not...but others do. Surely there must be a workaround for this? I've tried as much as I can think of concerning HTML that might help.
I tried putting the attributes in an XML doc, and calling them forth that way as well as actually putting the attributes in myself within the XSL doc.
I can't be the only person who's noticed this can I? I mean - firefox is a pretty damn popular browser these days - so more and more websites will be looking dodgy, as well as web designers getting more and more frustrated!
Please, please, please, put me out of my misery!
~A~
Basically the problem is that when I have the following in my XSL document <table cellspacing="0" cellpadding="0">... the output doesn't actually look like no cellspacing/cellpadding. It DOES in internet explorer, but in every other browser I've tried it seems to give it some spacing/padding. I mainly use firefox (doesn't everyone these days?) by the way.
It's not that it's ignoring the attributes, but it's giving them a value other than zero. If I increase it to 1 or 2 then you can see the difference, if I change it to -1 or -2 it doesn't help.
It's only when used in an XSL document it does this however. If you wrote that same line in a plain HTML doc it'd work fine. Now...I know it's not my browser/system 'cause I've got 2 dual-boot PCs (XP and Gentoo on one, 2K and Mandrake on another!).
The only reason I can think of is that IE displays it fine due to it not really caring if it conforms to W3 standards or not...but others do. Surely there must be a workaround for this? I've tried as much as I can think of concerning HTML that might help.
I tried putting the attributes in an XML doc, and calling them forth that way as well as actually putting the attributes in myself within the XSL doc.
I can't be the only person who's noticed this can I? I mean - firefox is a pretty damn popular browser these days - so more and more websites will be looking dodgy, as well as web designers getting more and more frustrated!
Please, please, please, put me out of my misery!
~A~