Cross browser "compatability"! GRRR!
Forget CSS differences -- it seems that between them, IE, Safari, Opera and FF can't even agree on spacing out fucking tables. Assnuggets!
(I have a TR divided into two TDs, each of which has a specified pixel width, and yet IE and Opera make the first TD smaller than Safari and FF (and smaller than I'm specifying); as the first TD was empty I've resorted to padding it out with a 1-pixel transparent GIF scaled to the actual size I want, but even that's resulting in some weirdness -- FF still looks how it "should", Safari's close but the TR is too short, and Opera and IE are now making the first TD *bigger*. I'm probably doing something retarded, but I can't for the life of me work it out... Time for bed!)
You aren't meant to specify pixel widths. That is one of the biggest mistakes you can make when f'ing up html. You don't know how big my screen pixels are, so how do you know your specified pixel width is meaningful on my screen?
January 21st, 2006
Just rely on those 'em's.
I don't care how big your pixels are -- I have some images that I want arranged in a particular way, so using ems or whatever is no use at all. I was hoping that tables would be easier than trying to wrestle with CSS-related incompatabilities, but apparently not...
Have you tried putting a non-breaking space in the empty cell instead of the transparent gif?
January 22nd, 2006
have you set the cellpadding and cellspacing to zero? try setting the margin and padding styles to zero as well...
have you tried using instead of the .gif?
are you sure you're not overriding the defaults in your stylesheet?
you might wanna set the width at the table level as well.
you could always do away with tables and just use floating divs. i've had more success with cross browser compatibility w/ table-less html...
January 22nd, 2006
I was formatting some text via CSS, so I removed that and formatted it through FONT tags and it seems to have worked better this time. (Why it should make any difference I don't know -- the CSS only adjusted the font-face and color attributes.)