If IE is buggy let the fallout fall on the users of IE, not the web developers. There is never any VALID reason to use a table to fix a layout problem.Īnd note that using a table to fix an IE bug is NOT a valid reason. Abandoning modern practices and reverting to the early 90's to accommodate these sort of users is just silly. You don't turn off the technology used to style webpages and walk away from it without it affecting the rendering of websites.
up to a point.)Īnd those who deliberately turn CSS of are either are aware of how it might affect them and willing to accept it, or deserving of having modern webpages fall apart on them. In reality, assuming browsers have managed to implement the 12 year old core web design technology used by virtually every modern website designed since the turn of the century, is an extremely fair assumption. Granted, if you are designing your websites for the original release of the Netscape Navigator browser. Hmmm.how about the reason that CSS can be turned off? I'll keep looking, hopefully find something before I just drop IE support altogether :) In any case, does anybody know a workaround, or another method to center the images? I mean, the image is scaled, but it's original width is being used by it's parent, which is not the case with the height.Įither this was the intended behavior and the height is bugged, or it's not and the width is. I'm thinking this must be a bug in IE (shocking, I know). In other words, given a price of 5.00 and a cost of 4.00, we want to. But it still centers the image correctly. In this example, the goal is to calculate and display profit margin as a percentage for each of the items shown in the table. It centers them both vertically and horizontally.īut when images scale down to exactly the max-width, the table-cell appears to forget it was scaled down, expanding itself until it reaches the width of the original image size. IE8, on the other hand, does something much worse.įor images that scale down to less then the set max-width, this works perfectly to. IE7 fails to do the vertical alignment, but that's good enough for IE. Everything is scaled down and centered perfectly. This works in all the standard supporting browsers.