Bookmarks

Thursday, September 6, 2007

On Having Layout

On Having Layout

I spent several hours today sorting out an IE7 CSS bug that was solved by the concepts described in this article -- On Having Layout.

I'm adding this here as a bookmark but also as a heads up for other programmers dealing with CSS related IE6/7 bugs.

"A lot of Internet Explorer's rendering inconsistencies can be fixed by giving an element “layout.”" Who knew you had to give IE layout??

----------------------

To give layout to IE6 and lower use the underscore hack:
.gainlayout { _height: 0; }

or use the IE6 conditional
<!--[if lte IE 6]><style>.gainlayout { height: 1px; }</style><![endif]-->

----------------------

To give layout to IE7 use the min-height property:
.gainlayout { min-height: 0; }

or use the IE7 conditional
<!--[if IE 7]><style>.gainlayout { zoom: 1; }</style><![endif]-->

----------------------

3 Comments | Post a comment | Filed Under: Bookmarks, Coding

Wednesday, July 18, 2007

Internet Science

Internet Science

If you are needing tp brush up on a little science, click on the Internet Periodic Table below. It's a visual representation of the Internet's most popular sites.

MediaGirl ToolBox

0 Comments | Post a comment | Filed Under: Bookmarks