A bunch of cunts, mostly in the Australian sense. Except that one guy.

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!)
Permalink Mat Hall 
January 21st, 2006
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?
Permalink Ian Boys 
January 21st, 2006
Just rely on those 'em's.
Permalink Simon Lucy 
January 22nd, 2006
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...
Permalink Mat Hall 
January 22nd, 2006
Have you tried putting a non-breaking space in the empty cell instead of the transparent gif?
Permalink Jp 
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...
Permalink Kenny 
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.)
Permalink Mat Hall 
January 22nd, 2006

This topic was orginally posted to the off-topic forum of the
Joel on Software discussion board.

Other topics: January, 2006 Other topics: January, 2006 Recent topics Recent topics