Don’t float in your tables.

Well I learned today that you shouldn’t float in your tables. I had a site that looked great and designed with CSS. However, Internet Explorer didn’t read the CSS correctly so I had to go with tables too. Unfortunately I forgot to take out a few floats and, very randomly, the site wouldn’t look correctly in some browsers. It was so random that when you hit refresh it would look ok, hit refresh again and it’d be broken. After some trouble shooting I found out that I had left the float tags in the CSS class that was now applied to the TDs in the code. Once removed, everything looked great again. So remember, don’t float in your tables.



No Comments      

Leave Your Thoughts

Some comments may be held for moderation and not appear immediately. Those with links and/or harsh language may need my approval before showing up live. I may also remove or edit any that I feel are spammy in nature or just plain rude.

Subscribe without commenting


Plurk.com
Subscribe





Subscribe to the TwisterMc Feed
TwisterMc Themes For Firefox 3 Connect with me via a social network. Web Host
Apple iTunes
Tumbler Badge
Great Sites
Archives
In Expensive Quality Stock Photos Made on a Mac