My family has been buying Mac's since I no longer do their Windows tech support. Now I'm Apple Tech support. Can't win.

Category: xhtml

Images disappear in IE6

March 11th, 2008

Yes, I, like most of you, still put up with ie6 and its plethora of CSS bugs. I tend to forget the easiest fix can sometimes just be

position:relative;.

I just fixed a problem I had regarding an image floating to the left of some text. The problem was that the image just wouldn’t show up in ie6. I tried the clear float solution, but to no avail. Then I remembered another solution concerning images, floats and ie6 :

img {position: relative;}

Works like a charm.

From Community MX: How To Attack An Internet Explorer (Win) Display Bug

It turns out that applying a simple {position: relative;} to the negatively margined inner box causes the missing portions to magically reappear. Why? Well, moving right along… Seriously, no one knows why this happens, except perhaps the Microsoft engineers, and they aren’t talking. Suffice to say it does work.

Soon, this fix was found to work on other IE bugs as well, specifically the Peekaboo Bug in IE6 (look on the third page of the article). We’ll get back to the Peekaboo bug in just a little while.

Another primary use for this fix is occasioned when a floated image is in a container and either the container or the floated image has been made “relative.” In that case, the floated image can and will “hide” behind any background that may be placed on the outer container element. Removing the relative positioning or making both elements relative will bring the floated image “up front,” allowing it to be seen.

Top Web Designer Resources!

November 27th, 2007

Here’s a great resource that has something for everyone. I thought I had come up with a pretty comprehensive design resource list when I posted Creative Alternatives and Resources. This is an amazing listing of links for designers and developers alike.

For Web Designers

From working with Ajax, to XHTML character references, the link list given on forwebdesigners.com is pretty comprehensive. Some of these links you may have seen before, but alot are new to me. They even give you a link to suggest a link they may have missed. I have definitely bookmarked this site, you should too.

I’m sure you will find something useful – 332 helpful links for Web Designers