posts tagged with 'web design'

results of a day spent tweaking layouts

I think I've discovered the secret to cross-browser css compatibility. No more hacks, no more *>html or voice-family or /*//*s (who can remember how that last one is supposed to go?!). No, the solution (which I'm sure thousands of people already found before me) is to absolutely position everything you can, and test in IE7 and Firefox. Then use conditional comments to target IE6, and give it an entirely different stylesheet. The absolute positioning "top" number needs to change by 359px? Who cares why! Just guess at numbers until it looks the way it should! A single minute devoted to trying to figure out what the IE6 renderer is trying to do is a minute too many.

That's all. Oh yeah, also watch out for floats, negative margins, and padding on elements with defined widths. And z-index.