<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-34760203</id><updated>2011-07-29T00:48:06.943-04:00</updated><category term='dropdown'/><category term='tables'/><category term='IE7'/><category term='absolute positioning'/><category term='select'/><category term='frameworks'/><category term='IE6'/><category term='CSS'/><category term='display: inline fix'/><category term='float bug'/><category term='One True Layout'/><category term='menus'/><category term='IE5'/><category term='Safari'/><category term='16-column'/><category term='position: relative fix'/><category term='zoom fix'/><category term='zoom: 1 fix'/><category term='grids'/><category term='overflow'/><category term='hasLayout'/><title type='text'>Moo if you know CSS</title><subtitle type='html'>My CSS bugs and fixes log as I’ve come across them</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-34760203.post-3512433602755937026</id><published>2011-03-18T11:14:00.002-04:00</published><updated>2011-03-18T11:29:52.839-04:00</updated><title type='text'></title><content type='html'>&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif; font-size: x-large;"&gt; IE7 and the mixing of left and right floats&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now that I’ve completely cut out support for IE5 and IE6 from the template (no backup stylesheets—only a message that says “update already!”), I imagined my IE debugging would go much faster. But I still come across a head scratcher once in a while, even now, after years and years of this. Very strange that I’ve never seen this come up before…&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The Issue&lt;/strong&gt;: &lt;br /&gt;I have a left floated element with a set width followed immediately by a right floated element whose width is allowed to vary. Because the width of the right element might not fit in the remaining space allowed by the left element, I’d normally put a &lt;code&gt;clear: both&lt;/code&gt; on the right element.&lt;br /&gt;&lt;br /&gt;This won’t work in IE7, as demonstrated &lt;a href="http://www.brunildo.org/test/IEWfc3.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The Solution&lt;/strong&gt;:&lt;br /&gt;Unfloating the right element makes the width 100%, and all the containing bits align to the left, which is not what I want.&lt;br /&gt;&lt;br /&gt;Instead, I unfloat the left element, apply a the &lt;code&gt;clear: both&lt;/code&gt; to the right element and happiness ensues.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-3512433602755937026?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/3512433602755937026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=3512433602755937026&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/3512433602755937026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/3512433602755937026'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2011/03/ie7-and-mixing-of-left-and-right-floats.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-3408771257263095495</id><published>2010-08-26T09:57:00.000-04:00</published><updated>2010-08-26T09:57:39.079-04:00</updated><title type='text'></title><content type='html'>&lt;div style="font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;"&gt;&lt;span style="font-size: x-large;"&gt;Forcing Breaks In Long Words/URLs/Email&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Problem:&lt;/b&gt;&lt;br /&gt;I have a table with two columns that will have email addresses in them. I tried to set the width and max-width of all the columns, but if the email addresses are excessively long, the column inevitably stretches, resizing all the columns, and worse, stretching the table out of its width/max-width. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;I came across a comprehensive fix for forcing all browsers to break up long words, thereby maintaining box borders, and without &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;overflow: hidden&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;pre {&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; white-space: pre;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* CSS 2.0 */&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; white-space: pre-wrap;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* CSS 2.1 */&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; white-space: pre-line;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* CSS 3.0 */&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; white-space: -pre-wrap;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Opera 4-6 */&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; white-space: -o-pre-wrap;&amp;nbsp;&amp;nbsp; /* Opera 7 */&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; white-space: -moz-pre-wrap; /* Mozilla */&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; white-space: -hp-pre-wrap;&amp;nbsp; /* HP Printers */&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; word-wrap: break-word;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* IE 5+ */&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Of course, it doesn’t have to be set to a pre tag. &lt;br /&gt;&lt;br /&gt;The only problem I’m having is with IE8 which is not breaking, &lt;i&gt;except&lt;/i&gt; when I switch the browser to Compatibility View. From everything I’ve read, the last line should work in IE8, but I’ve had no joy so far.&lt;br /&gt;&lt;br /&gt;If anyone knows what I’m missing, please enlighten.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-3408771257263095495?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/3408771257263095495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=3408771257263095495&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/3408771257263095495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/3408771257263095495'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2010/08/forcing-breaks-in-long-wordsurlsemail.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-1232002496751869816</id><published>2010-02-08T16:52:00.003-05:00</published><updated>2010-02-08T16:59:15.378-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IE7'/><category scheme='http://www.blogger.com/atom/ns#' term='IE6'/><title type='text'></title><content type='html'>&lt;div style="font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;"&gt;&lt;span style="font-size: x-large;"&gt;IE7, The Script&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;I was having dinner with friends last week, and one of them, another HTML monkey, told me about a fantastic JavaScript you could conditionally attach to IE6 to make it behave like IE7 (and well, now IE8). After the previous week’s headaches with the absolutely positioned elements next to floating ones, I said if this script works as advertised, why the hell hasn’t anyone told me about it before now?&lt;br /&gt;&lt;br /&gt;So I’ve been giving it a shot with my new BlueTrip framework installed, and, well, it’s not manna from heaven. In fact, all the main problems I have with IE6 aren’t fixed with the &lt;a href="http://code.google.com/p/ie7-js/"&gt;IE8.js or IE7.js&lt;/a&gt;. One of the subsidiary scripts (to recalculate the box model) made IE6 and IE7 crash. On top of not fixing the major problems in IE6, it also breaks what I’ve already fixed, and I don’t want to hack fix a hacked fix.&lt;br /&gt;&lt;br /&gt;In all, I put the conditional for IE7 to use the IE8.js script — even though the effect is fairly minor and causes a redraw burp — but I left IE6 the way it is. Honestly, at this point, knowing the hacks already, and having to use a conditional stylesheet anyway (for Peekaboo bug, 3-pixel job, etc. that don’t get handled by the script), it’s just easier to do it manually. Makes sense now why I’ve never heard anyone else hawk this “solution.”&lt;br /&gt;&lt;br /&gt;On second thought, considering the redraw burp, I may as well take it off for IE7, too.&lt;br /&gt;&lt;br /&gt;I knew it sounded too good to be true.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;What the script does fix:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Fixed positioning&lt;/li&gt;&lt;li&gt;Maximum and minimum width and height&lt;/li&gt;&lt;li&gt;Many selectors previously unsupported are &lt;a href="http://deanedwards.me.uk/IE7/"&gt;now supported&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;IE6 will support alpha transparency for png images both as background and foreground images – but see next&lt;/li&gt;&lt;/ul&gt;And my brief testing concluded that the max-/min-height support didn’t really work either. I’m not sure about the rest since I try not to use those.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-1232002496751869816?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/1232002496751869816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=1232002496751869816&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/1232002496751869816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/1232002496751869816'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2010/02/ie7-script-i-was-having-dinner-with.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-714167091463193483</id><published>2010-02-04T16:14:00.003-05:00</published><updated>2010-02-04T16:17:34.374-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='frameworks'/><category scheme='http://www.blogger.com/atom/ns#' term='grids'/><category scheme='http://www.blogger.com/atom/ns#' term='16-column'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><title type='text'></title><content type='html'>&lt;div style="font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif; font-weight: normal; font-size: x-large;"&gt;Grids and CSS Frameworks&lt;/div&gt;&lt;br /&gt;&lt;p&gt;Last year, I finally decided it was time to start designing on a grid. Imagine that! Using a design grid for websites. In the old days of two- or three-column layouts, you didn’t really have to worry about that.&lt;/p&gt;&lt;br /&gt;But today, it’s all about Web 2.0 (whatever that means to you), and static grids are so ’00s-y. To take advantage of everyone’s bigger LCD monitors, you have to explore different column layouts, often within the same page.&lt;br /&gt;&lt;br /&gt;So, with the latest project, I’ve designed the site on a 16-column grid (using &lt;a href="http://960.gs/"&gt;Nathan Smith’s 960 template&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;The big trick, though, is to make the markup and CSS not a complete pain in the ass.&lt;br /&gt;&lt;br /&gt;My strengths don’t exactly include planning or coding; I’m too fly-by-the-seat-of-the-pants to carefully think all the way through something really complex. So I’d started laying out the templates for the site with my gonzo more-or-less best practice styling (there are many opinions on what constitutes “best practice,” and I find compromise is usually required to get the job done — never mind that it already takes 10-20% more time to debug for IE6).&lt;br /&gt;&lt;br /&gt;A couple weeks ago, I discovered the &lt;a href="http://www.blueprintcss.org/"&gt;Blueprint CSS Framework&lt;/a&gt;, and from there, the &lt;a href="http://bluetrip.org/"&gt;BlueTrip Framework&lt;/a&gt;. Thank Zeus for clever style monkeys.&lt;br /&gt;&lt;br /&gt;I’ve adapted their 24-column grid for my 16-column grid, and added a few other customised layout options. I’m still scratching my head over padded columns inside boxed divs, as well as equal-height column borders, but those are stories for another day.&lt;br /&gt;&lt;br /&gt;Today, I just wanted to thank the Blueprint and BlueTrip folks. Cheers!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-714167091463193483?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/714167091463193483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=714167091463193483&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/714167091463193483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/714167091463193483'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2010/02/grids-and-css-frameworks-last-year-i.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-6782563764193525773</id><published>2010-01-29T19:31:00.012-05:00</published><updated>2010-01-29T20:24:05.810-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='absolute positioning'/><category scheme='http://www.blogger.com/atom/ns#' term='float bug'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='IE6'/><title type='text'></title><content type='html'>&lt;span style=";font-family:lucida grande;font-size:180%;"  &gt;Absolutely Positioned element disappears in IE6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This bug is not unlike the &lt;a href="http://www.blogger.com/2009/02/duplicate-rendered-characters-in-ie6.html"&gt;Duplicate Rendered Characters in IE 6&lt;/a&gt; that I documented earlier, having to do with IE6 bugginess around floated elements near absolutely positioned elements.&lt;br /&gt;&lt;br /&gt;PROBLEM:&lt;br /&gt;I’ve got an absolutely positioned list item at the end of a bunch of floated list items.&lt;span style="vertical-align: super;font-size:78%;" &gt;1&lt;/span&gt; In between the first floated items and the absolutely positioned items, I have another block.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Z04RxEpKABs/S2OGSD-q0OI/AAAAAAAAABE/zt0ZZ0RKeUY/s1600-h/demo_complicatedpositioning.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 98px;" src="http://4.bp.blogspot.com/_Z04RxEpKABs/S2OGSD-q0OI/AAAAAAAAABE/zt0ZZ0RKeUY/s400/demo_complicatedpositioning.gif" alt="" id="BLOGGER_PHOTO_ID_5432333220402876642" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The blue blocks were floated into place.&lt;/li&gt;&lt;li&gt;The red blocks are nested inside blue_block_2.&lt;/li&gt;&lt;li&gt;Red blocks 1 to 4 are floated into place.&lt;/li&gt;&lt;li&gt;red_block_5 has to be positioned absolutely, otherwise it mucks up the elements in blue_block_3.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Everything looks good in Firefox, Safari, Opera, Chrome, IE7, and IE8.&lt;br /&gt;&lt;br /&gt;But wait! That’s right. IE6 needs to suck up more precious minutes in my dwindling life supply; it hides red_block_5.&lt;br /&gt;&lt;br /&gt;Using the IE Developer Toolbar, I can make the block reappear by typing…well, anything into the style attribute: zoom, display, etc.&lt;br /&gt;&lt;br /&gt;But when I try any of these in the IE6 stylesheet, nothing changes.&lt;br /&gt;&lt;br /&gt;SOLUTION:&lt;br /&gt;&lt;a href="http://www.sitepoint.com/blogs/2010/01/21/fix-disappearing-absolute-position-element-ie/#comment-940547"&gt;Craig Buckler at SitePoint explains&lt;/a&gt; that IE6 hides absolutely positioned items if they’re coded right before or right after floated sibling elements. He suggested that adding an empty, static element (such as &lt;code&gt;&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/code&gt;) would make IE6 pop the missing element back in.&lt;br /&gt;&lt;br /&gt;Sadly, this did not work for me. But thanks to one of his readers, Paul O’B, I found a solution that worked in my case. In the IE6 stylesheet, I added &lt;code&gt;clear: both&lt;/code&gt; to the red_block_5 element. I also had to change the left positioning value, but that did the trick.&lt;br /&gt;&lt;br /&gt;Happiness.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;1. Many snarky commentators love to ask things like “&lt;span style="font-style: italic;"&gt;why would you need to use absolute positioning anyway? Why not change the markup so the elements fall into place inside the appropriate containing element?&lt;/span&gt;”&lt;br /&gt;&lt;br /&gt;My response is that my page is marked up the way it is because in the absence of stylesheets and JavaScripts, the content still flows logically, and all the elements that should be grouped together are grouped together.&lt;br /&gt;&lt;br /&gt;“&lt;span style="font-style: italic;"&gt;So why don’t you change the design to keep the elements together if they’re supposed to be together?&lt;/span&gt;”&lt;br /&gt;&lt;br /&gt;Because visually, there are other elements that are more important, and my red_block_5 element can be shunted in favour of other visual hierarchies. Basically, there’s another element at the bottom of blue_block_3 that logically belongs within blue_block_3 (vertically), but also flows naturally after red_block_4 (horizontally).&lt;br /&gt;&lt;br /&gt;So my case may be very particular, but I don’t think so. Besides, I don’t think I should have to give up either markup logic or visual logic just to make IE6 happy. That’s asinine. IMHO, IE6 just needs to go away.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-6782563764193525773?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/6782563764193525773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=6782563764193525773&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/6782563764193525773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/6782563764193525773'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2010/01/absolutely-positioned-element.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_Z04RxEpKABs/S2OGSD-q0OI/AAAAAAAAABE/zt0ZZ0RKeUY/s72-c/demo_complicatedpositioning.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-6248763580940300254</id><published>2009-07-16T10:30:00.005-04:00</published><updated>2009-07-16T14:21:16.149-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='float bug'/><category scheme='http://www.blogger.com/atom/ns#' term='position: relative fix'/><category scheme='http://www.blogger.com/atom/ns#' term='IE7'/><title type='text'></title><content type='html'>&lt;span style="font-size:180%;"&gt;&lt;span style="font-family:lucida grande;"&gt;Floating div disappears when background-color added to parent div in IE7&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Strangely, this happens with IE7 and not IE6.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:lucida grande;"&gt;Set Up:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Inside of the mother div is a floating div (with graphics and a Flash audio player—but the content is unimportant since I’ve tried it without the Flash). The child floating div has a border all the way around.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:lucida grande;"&gt;Problem:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;When I add a background-color to the mother div, the child below the top border disappears. It’s still “visible” to the cursor (hovers still work), but no visual.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:lucida grande;font-size:130%;"  &gt;Solution:&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Add &lt;span style="font-family:courier new;"&gt;position: relative&lt;/span&gt; on the child element. Happiness ensues.&lt;br /&gt;&lt;br /&gt;From now on, any IE6 and IE7 visual glitches will be attacked with &lt;span style="font-family:courier new;"&gt;position: relative&lt;/span&gt; and &lt;span style="font-family:courier new;"&gt;zoom: 1&lt;/span&gt;. It seems that either one or the other works in 80% of cases.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-6248763580940300254?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/6248763580940300254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=6248763580940300254&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/6248763580940300254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/6248763580940300254'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2009/07/floating-div-disappears-when-background.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-3788462940819013691</id><published>2009-07-16T09:58:00.005-04:00</published><updated>2009-07-16T14:22:41.605-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IE7'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='select'/><category scheme='http://www.blogger.com/atom/ns#' term='IE6'/><title type='text'></title><content type='html'>&lt;span style="font-size:180%;"&gt;&lt;span style="font-family:lucida grande;"&gt;Select tag z-index glitch in IE&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I thought this was fixed for IE7, but not so.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:lucida grande;"&gt;Set Up:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;We have a page with 3 tabbed divs; only one is displayed at a time, while the others are &lt;span style="font-family:courier new;"&gt;display: none&lt;/span&gt;. The default div that displays on load contains a select tag which changes the content in a table inside that div based on date. The second div displays a dynamically generated table in standard HTML. The third and last div contains a Flash movie.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:lucida grande;"&gt;Problem:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;In IE 6 &amp;amp; 7, when the second tab is clicked to hide the first div and display the second div, there is a mystery horizontal rule (at the same height as the top of the table in the first div). This line seems to be on the top layer, and causes anything below the line to be unclickable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:lucida grande;font-size:130%;"  &gt;Solution:&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Quickie: remove the &amp;lt;select&amp;gt; tag and use something else (custom slider or&lt;/span&gt;&lt;span&gt; create the select menu as a DHTML drop-down instead).&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;This sounds like it could be fixed with the &lt;a href="http://jetlogs.org/2008/05/09/jquery-fix-ie-select-box-z-index-bug/"&gt;jQuery iframe method&lt;/a&gt;, but we haven’t tried it yet.&lt;br /&gt;&lt;br /&gt;But what I want to know is why the select still creates the bug when it’s containing element has display: none. Does display: none mean that all the included elements are still lurking underneath? This makes no sense since normally, display: none causes the page to change size.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-3788462940819013691?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/3788462940819013691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=3788462940819013691&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/3788462940819013691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/3788462940819013691'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2009/07/select-tag-z-index-glitch-in-ie-i.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-461491932816729220</id><published>2009-07-10T10:32:00.003-04:00</published><updated>2009-07-16T11:17:25.405-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='display: inline fix'/><category scheme='http://www.blogger.com/atom/ns#' term='IE6'/><title type='text'></title><content type='html'>&lt;span style="font-size:180%;"&gt;&lt;span style="font-family:lucida grande;"&gt;Solution for double margin bug in IE6&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here’s another one to cross off.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:lucida grande;"&gt;Problem:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Float a child block and add a margin on the same side as the float (so, margin-left if float: left, margin-right if float: right), and IE5-6 doubles the margin value.&lt;br /&gt;&lt;br /&gt;Insane, right?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:lucida grande;"&gt;Solution:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;For a long time, I simply halved the margin value in an IE conditional. Which is unacceptable when the margin value is odd.&lt;br /&gt;&lt;br /&gt;But now, there’s a better solution. In the IE5-6 conditional:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.fix_doublemargin { display: inline; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Happiness ensues!&lt;br /&gt;&lt;br /&gt;Credit: &lt;a href="http://www.positioniseverything.net/explorer/doubled-margin.html"&gt;P.I.E.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-461491932816729220?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/461491932816729220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=461491932816729220&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/461491932816729220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/461491932816729220'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2009/07/solution-for-double-margin-bug-in-ie6.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-2756684287963095935</id><published>2009-06-25T14:35:00.015-04:00</published><updated>2009-07-16T11:17:58.949-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='position: relative fix'/><category scheme='http://www.blogger.com/atom/ns#' term='zoom: 1 fix'/><category scheme='http://www.blogger.com/atom/ns#' term='IE6'/><category scheme='http://www.blogger.com/atom/ns#' term='IE5'/><title type='text'></title><content type='html'>&lt;h4 style="color: rgb(51, 51, 51); font-family: lucida grande; font-size: 180%; font-weight: normal; line-height: 100%;"&gt;Solution for negative margins/indents bug in IE 6&lt;/h4&gt;&lt;p&gt;Over two and a half years ago, &lt;a href="http://cssmoo.blogspot.com/2006/09/negative-marginsindents-bug-in-ie-56-i.html"&gt;I wrote about this bug&lt;/a&gt; for which I didn’t know a fix. This week, I’ve had the problem resurrect, and after more Googling, found the solution from another blogger. Here it is:&lt;/p&gt;&lt;p&gt;Give the child that is getting cut off, &lt;span style="font-style: italic;"&gt;haslayout&lt;/span&gt; like so:&lt;/p&gt;&lt;blockquote style="margin: 0pt; padding: 0pt; font-variant: normal;"&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;!--[if lte IE 7]&amp;gt;&lt;br /&gt; &amp;lt;style type="text/css"&amp;gt;&lt;br /&gt;   #child {&lt;br /&gt;     zoom: 1;&lt;br /&gt;     position: relative;&lt;br /&gt;   }&lt;br /&gt; &amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;![endif]--&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;In my situation, I’ve used just  &lt;span style="font-family:courier new;"&gt;position: relative;&lt;/span&gt; to fix both IE 6 &amp;amp; 7 because using &lt;span style="font-family:courier new;"&gt;zoom: 1;&lt;/span&gt; wrecked the auto width of the child element. [Don’t know if this fixes IE 5.x, and don’t care.]&lt;/p&gt;&lt;p&gt;I’ve read from others that the reverse sometimes cures, too, so I suggest trying both, then trying one or the other to see which gets the result you need. Buffet-style IE hacks!&lt;/p&gt;&lt;p&gt;Woohoo! I can finally cross this one off.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-2756684287963095935?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/2756684287963095935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=2756684287963095935&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/2756684287963095935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/2756684287963095935'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2009/06/solution-for-negative-marginsindents.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-8238383242198716497</id><published>2009-04-01T16:17:00.000-04:00</published><updated>2009-04-01T16:21:59.817-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Safari'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='tables'/><title type='text'></title><content type='html'>&lt;span style=";font-family:lucida grande;font-size:180%;"  &gt;Background images in table rows: update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For a change, this isn’t about IE5-6 alone. In trying to put a table form together, using a background image in the table row would be the easiest solution for me. Sadly, this is not a supported function in:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Safari (including version 4 Beta)&lt;/li&gt;&lt;li&gt;OmniWeb (up to 5.9.1)&lt;/li&gt;&lt;li&gt;iCab (up to 4.1.1)&lt;/li&gt;&lt;/ul&gt;Which makes the form problematic.&lt;br /&gt;&lt;br /&gt;Ah well. Back to the drawing board.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-8238383242198716497?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/8238383242198716497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=8238383242198716497&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/8238383242198716497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/8238383242198716497'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2009/04/background-images-in-table-rows-update.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-520793101418969848</id><published>2009-02-05T14:51:00.001-05:00</published><updated>2009-07-16T11:18:59.713-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='float bug'/><category scheme='http://www.blogger.com/atom/ns#' term='IE6'/><title type='text'></title><content type='html'>&lt;h3 style="font-family: lucida grande; font-size: 180%; font-weight: normal; margin-top: 0pt; padding-top: 0pt;"&gt;Duplicate Rendered Characters in IE6&lt;/h3&gt;&lt;p&gt;&lt;strong&gt;The Issue&lt;/strong&gt;: I’ve got an absolutely positioned link inside a floated container. The link is being partially duplicated outside of and below the container.&lt;/p&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Z04RxEpKABs/SYtEGB2zogI/AAAAAAAAAAM/1mY_tjmZVIk/s1600-h/iebug_duplicate.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 300px; height: 89px;" src="http://1.bp.blogspot.com/_Z04RxEpKABs/SYtEGB2zogI/AAAAAAAAAAM/1mY_tjmZVIk/s320/iebug_duplicate.jpg" alt="" id="BLOGGER_PHOTO_ID_5299404256899736066" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;According to &lt;a href="http://www.positioniseverything.net/explorer/dup-characters.html"&gt;P.I.E.&lt;/a&gt;, the problem is that I have comments between all the floated siblings of the container, and IE has a problem figuring out what to do with comments between floats (WTF?!). This bug also pops up if there are hidden inputs and any item with &lt;code&gt;display: none&lt;/code&gt; amongst the floating siblings, though I have yet to experience this delight for myself.&lt;p&gt;&lt;/p&gt;&lt;p style="clear: both;"&gt;&lt;strong&gt;The Solution:&lt;/strong&gt; I tried all of the suggestions on the P.I.E. site, but only two things worked for me.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Removing all of the comments directly between the floating containers.&lt;/li&gt;&lt;li&gt;Using the IE conditional to wrap the comments, as in:&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;blockquote style="clear: both;"&gt;&lt;code&gt;&amp;lt;!--[if !IE]&amp;gt;&amp;lt;!-- MY COMMENT --&amp;gt;&amp;lt;!--[endif]--&amp;gt;&lt;/code&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-520793101418969848?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/520793101418969848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=520793101418969848&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/520793101418969848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/520793101418969848'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2009/02/duplicate-rendered-characters-in-ie6.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Z04RxEpKABs/SYtEGB2zogI/AAAAAAAAAAM/1mY_tjmZVIk/s72-c/iebug_duplicate.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-6813895122987180083</id><published>2009-01-28T13:13:00.000-05:00</published><updated>2009-01-28T13:38:51.609-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hasLayout'/><category scheme='http://www.blogger.com/atom/ns#' term='zoom fix'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='IE6'/><title type='text'></title><content type='html'>&lt;span style=";font-family:lucida grande;font-size:180%;"&gt;Opacity in IE6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Issue:&lt;/span&gt; First problem is that text set with opacity looks like crap. It&amp;rsquo;s to do with the anti-aliasing (yes, even with ClearType enabled).&lt;br /&gt;&lt;br /&gt;Second problem is that even when you use&lt;br /&gt;&lt;blockquote&gt;&lt;code&gt;&lt;br /&gt;.opaque {&lt;br /&gt; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";&lt;br /&gt; filter: alpha(opacity=70);&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;The opacity doesn&amp;rsquo;t kick in.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Solution:&lt;/span&gt; For problem 2, add &lt;code&gt;zoom: 1;&lt;/code&gt; to the IE-only rule above.&lt;br /&gt;&lt;br /&gt;Happiness ensues.&lt;br /&gt;&lt;br /&gt;As for IE6 anti-aliasing ugliness, I just wipe out the filter: &lt;code&gt;filter: none;&lt;/code&gt;. So you don&amp;rsquo;t get opacity in IE6. &lt;span style="font-style:italic;"&gt;Not&lt;/span&gt; the end of my world.&lt;br /&gt;&lt;br /&gt;According to stats for the website, at least a quarter of the IE traffic is still using version 6. UPGRADE, PEOPLE! DO IT! &lt;span style="font-weight:bold;"&gt;DO IT NOW!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The bane of my existence&amp;hellip;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-6813895122987180083?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/6813895122987180083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=6813895122987180083&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/6813895122987180083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/6813895122987180083'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2009/01/opacity-in-ie6-issue-first-problem-is.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-4253360975775622046</id><published>2009-01-22T19:09:00.000-05:00</published><updated>2009-01-28T13:39:18.340-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hasLayout'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='IE6'/><title type='text'></title><content type='html'>&lt;span style=";font-family:lucida grande;font-size:180%;"  &gt;Italics in IE6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Issue:&lt;/span&gt; Italics force their container slightly wider in order to show the overflowing slanting edge of the letter when the container (such as an &lt;span style="font-family: courier new;"&gt;&amp;lt;em&amp;gt;&lt;/span&gt;) does not have a set width.&lt;br /&gt;&lt;br /&gt;This happens to break my P.I.E. (Positioning Is Everything) layout.&lt;br /&gt;&lt;br /&gt;Happily, this is a &lt;a href="http://www.positioniseverything.net/explorer/italicbug-ie.html"&gt;well-documented bug at P.I.E&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Solution:&lt;/span&gt; Because I no longer care about IE5, let alone IE5.5, I use this:&lt;br /&gt;&lt;br /&gt;&lt;code&gt; &amp;lt;!--[if lte IE 6]&amp;gt;&lt;br /&gt;   em, .italics { overflow: hidden; zoom: 1; }&lt;br /&gt; &amp;lt;![endif]--&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Happiness ensues.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-4253360975775622046?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/4253360975775622046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=4253360975775622046&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/4253360975775622046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/4253360975775622046'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2009/01/italics-in-ie6-issue-italics-force.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-6236776238184368995</id><published>2007-02-20T16:59:00.000-05:00</published><updated>2008-02-26T14:30:16.491-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='One True Layout'/><category scheme='http://www.blogger.com/atom/ns#' term='IE6'/><title type='text'></title><content type='html'>&lt;span style=";font-family:lucida grande;font-size:180%;"  &gt;Vertical scroll bar hide-’n-seek in IE6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Issue:&lt;/span&gt; Some visitors have called to complain that the scroll bar is missing on a page that requires them to click an “I Agree” button at the very bottom. This seems to be a sporadic problem because we’ve only fielded a couple of these calls, and my own testing machine doesn’t exhibit this problem.&lt;br /&gt;&lt;br /&gt;Googling resulted in similar complaints from others — until I changed a few things in their stylesheet and fixed their problem. One person set &lt;span style="font-family:courier new;"&gt;top&lt;/span&gt; and &lt;span style="font-family:courier new;"&gt;left&lt;/span&gt; as well as &lt;span style="font-family:courier new;"&gt;position: relative&lt;/span&gt; on a containing &lt;span style="font-family:courier new;"&gt;div&lt;/span&gt;. Changing these to &lt;span style="font-family:courier new;"&gt;margin-top&lt;/span&gt; and &lt;span style="font-family:courier new;"&gt;margin-left&lt;/span&gt; and removing the &lt;span style="font-family:courier new;"&gt;position&lt;/span&gt; fixed his problem. The reason IE6 wasn’t displaying the scroll bar had to do with the positioned element overflowing the base container; that is, the positioned container was treated as a layer because of the &lt;span style="font-family:courier new;"&gt;top&lt;/span&gt; and &lt;span style="font-family:courier new;"&gt;left&lt;/span&gt; settings, so it was “outside” the content flow. Am I making sense? It makes sense in my head, but I’m not using the proper vocabulary.&lt;br /&gt;&lt;br /&gt;Anyway, that isn’t what’s happening on my page because the containing elements are all stretching to match the length of the copy (which doesn’t happen with positioned layers). Which means that the scroll bar should be triggered. [I am using the &lt;a href="http://www.positioniseverything.net/articles/onetruelayout/appendix/equalheightproblems"&gt;One True Layout&lt;/a&gt; so I have a feeling this may be an issue with &lt;span style="font-family:courier new;"&gt;overflow: hidden&lt;/span&gt; on the containing row. I’ve set overflow: visible in the IE fix stylesheet, but I have no idea how to tell if it works or not.]&lt;br /&gt;&lt;br /&gt;The other qualification is that not all IE6/Windows XP users are getting this bug.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Predicament:&lt;/span&gt; How do you fix a problem that you can’t reproduce?&lt;br /&gt;&lt;br /&gt;Also, we don’t know that this is the only page that is exhibiting the bug, only that it’s the most obvious, since if the visitor can’t click the button at the bottom, she can’t continue to the rest of the site. There haven’t been reports of the bug on other pages. Or perhaps because the visitor with the bug can’t get past this page, she can’t report further bugs on the rest of the site. Either way, I am not incredibly motivated to find a solution. I understand it’s a real problem, but unless I can see it in action, I can’t even begin to think where to start fixing it. I can’t mess with the stylesheet because I can’t tell if it’s making a difference or not.&lt;br /&gt;&lt;br /&gt;Anyone ever had a problem like this, please help.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-6236776238184368995?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/6236776238184368995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=6236776238184368995&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/6236776238184368995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/6236776238184368995'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2007/02/vertical-scroll-bar-hide-n-seek-in-ie6.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-799072585043335309</id><published>2007-02-15T10:01:00.000-05:00</published><updated>2007-02-15T10:23:59.566-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='menus'/><category scheme='http://www.blogger.com/atom/ns#' term='select'/><category scheme='http://www.blogger.com/atom/ns#' term='dropdown'/><category scheme='http://www.blogger.com/atom/ns#' term='IE6'/><category scheme='http://www.blogger.com/atom/ns#' term='IE5'/><title type='text'></title><content type='html'>&lt;span style=";font-family:lucida grande;font-size:180%;"  &gt;CSS drop-down/fly-out menus and IE select elements&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;IE5-6 renders select menus on the top-most layer, no matter how you set up the HTML or how you declare the z-index.&lt;br /&gt;&lt;br /&gt;The last time this issue came up for me, I included a javascript that would make the select element disappear when the overlapping drop-downs were triggered. This worked fine because the select menu was the same width as the drop-down and so it was completely covered. Now with a different site, this is an impractical option, mainly because there’s no telling where the select menus will end up or how wide they’ll be.&lt;br /&gt;&lt;br /&gt;I’m trying to meld a bunch of CSS drop-down/flyout solutions into one mass. Here are all the features I need:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Works in IE5-6, IE7, Safari, Mozilla/Firefox&lt;/li&gt;&lt;li&gt;Flyout sub-submenus&lt;/li&gt;&lt;li&gt;Drops over select menus in IE5-6&lt;/li&gt;&lt;li&gt;Includes hover margin of error (mouse forgiveness when moving from menu to sub-menu)&lt;/li&gt;&lt;li&gt;Simplest HTML = easiest maintenance&lt;/li&gt;&lt;/ol&gt;I’m looking at the combined ADxMenu with the WCH script from aplus.co.yu.  Haven’t finished testing yet, so I’ll update this entry when it’s all working.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-799072585043335309?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/799072585043335309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=799072585043335309&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/799072585043335309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/799072585043335309'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2007/02/css-drop-downfly-out-menus-and-ie.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-116233280056145000</id><published>2006-10-31T17:07:00.000-05:00</published><updated>2006-11-01T14:05:47.663-05:00</updated><title type='text'></title><content type='html'>&lt;span style=";font-family:lucida grande;font-size:180%;"  &gt;CSS drop-down/fly-out menus and Flash&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It boils down to this: divs that drop down or fly out (as in most menus) over a Flash object look wonky.&lt;br /&gt;&lt;br /&gt;This is better summed up in &lt;a href="http://archivist.incutio.com/viewlist/css-discuss/75754"&gt;another post&lt;/a&gt; I found. The reply there is simply that the problem lies with Safari’s Flash Player implementation so the ball is in Adobe’s court. Adobe is aware of the problem and either can’t or won’t fix it.&lt;br /&gt;&lt;br /&gt;Happy Hallowe’en!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:lucida grande;" &gt;UPDATE&lt;/span&gt;: Fixing Flash for other browsers&lt;br /&gt;&lt;br /&gt;To help get the Flash window to behave under a flyout menu, this parametre should be added to the &lt;span style="font-family:courier new;"&gt;&amp;lt;param&amp;gt;&lt;/span&gt; lines in the Flash HTML:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&amp;lt;param name="wmode" value="transparent"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And this should be added within the &lt;span style="font-family:courier new;"&gt;&amp;lt;embed&amp;gt;&lt;/span&gt; tag:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;wmode="transparent"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Great. This helps Firefox, etc. But still does nothing for Safari.&lt;br /&gt;&lt;br /&gt;After seraching a number of forums, I’m convinced this can’t be solved for Safari.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Our Solution&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The solution we’re going with is to test for the Safari browser and replace the Flash content with a link that says, “View in a pop-up window.” There. No uglies for Safari users to gripe about.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-116233280056145000?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/116233280056145000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=116233280056145000&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/116233280056145000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/116233280056145000'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2006/10/css-drop-downfly-out-menus-and-flash.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-116224549520698657</id><published>2006-10-30T16:39:00.000-05:00</published><updated>2006-10-30T16:58:15.240-05:00</updated><title type='text'></title><content type='html'>&lt;span style=";font-family:lucida grande;font-size:180%;"  &gt;Form submit button pops into place after focusing in a field (IE 5-6)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I was having trouble with the double-margin bug in IE5-6 with this same form. I don’t know if my fix is what’s now causing this blip, but here goes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande; font-weight: bold;font-size:100%;" &gt;These are the conditions:&lt;/span&gt;&lt;br /&gt;+ This is a simple login form: &lt;span style="font-style: italic;"&gt;username&lt;/span&gt; , &lt;span style="font-style: italic;"&gt;password&lt;/span&gt;, and &lt;span style="font-style: italic;"&gt;submit&lt;/span&gt; inputs&lt;br /&gt;+ All the fields of my form are contained in a &lt;span style="font-family:courier new;"&gt;&amp;lt;fieldset&amp;gt;&lt;/span&gt;&lt;br /&gt;+ Each text input is wrapped in a &lt;span style="font-family:courier new;"&gt;&amp;lt;label&amp;gt;&lt;/span&gt;; each label is floated inside the fieldset&lt;br /&gt;+ The submit button is wrapped in a div with style&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ text-align: right; clear: both; padding-top: .5em; position: relative; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: lucida grande;"&gt;This is what happens:&lt;/span&gt;&lt;br /&gt;+ When the page loads in IE5-6, the submit button starts off overlapping the text input above it (in this case the password field)&lt;br /&gt;+ When the user focuses on a text input, the submit button magically slides into place&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande; font-weight: bold;"&gt;My easy solution:&lt;/span&gt;&lt;br /&gt;I fixed the javascript that selects the first text input field when the page loads. The submit button is seen to pop into place, but it does this rather quickly, and since many pages look glitchy before things slide into place, I think this is an okay quick fix.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;However, I do plan to explore what is going on here. Could be that I’m missing a &lt;span style="font-style: italic;"&gt;hasLayout&lt;/span&gt; trigger. Will report back when I fix it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-116224549520698657?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/116224549520698657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=116224549520698657&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/116224549520698657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/116224549520698657'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2006/10/form-submit-button-pops-into-place.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-116189500773439560</id><published>2006-10-26T16:24:00.002-04:00</published><updated>2009-07-16T11:22:02.925-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IE6'/><category scheme='http://www.blogger.com/atom/ns#' term='IE5'/><title type='text'></title><content type='html'>&lt;span style=";font-family:lucida grande;font-size:180%;"  &gt;IE’s whitespace between list elements, part 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So you’re creating a drop-down menu using unordered lists within unordered lists, and you’re using &lt;span style="font-weight: bold;"&gt;display: block&lt;/span&gt; for the &lt;span style="font-family:courier new;"&gt;li&lt;/span&gt; elements, along with a background colour that changes on hover. Looks great in Mozilla, but in IE there’s a mysterious extra space below the list item. It’s not padding and it’s not margin, because both of these have been set to &lt;span style="font-family:courier new;"&gt;0!important&lt;/span&gt;. But there it is still.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Problem&lt;/span&gt;: IE, inexplicably, doesn’t recognise the closing tags for lists (&amp;lt;/ul&gt;) and list items (&amp;lt;/li&gt;). So any space between your closing tag and the next opening tag is treated as a whitespace. You can close these up, but it makes looking at or editing the markup later a real pain. And even if you do that, if you nest another list inside a list item, the whitespace reappears in IE7 — again, despite closing the gaps and declaring &lt;span style="font-weight: bold;"&gt;margin: 0&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution&lt;/span&gt;: Just found this most excellent solution from another blogger: declare &lt;span style="font-weight: bold;"&gt;float: left; clear: left&lt;/span&gt; on the &lt;span style="font-family:courier new;"&gt;li&lt;/span&gt; and the gap closes up! Marvelous!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-116189500773439560?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/116189500773439560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=116189500773439560&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/116189500773439560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/116189500773439560'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2006/10/ies-whitespace-between-list-elements.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-115930376671684546</id><published>2006-09-26T16:01:00.000-04:00</published><updated>2006-09-26T16:49:26.756-04:00</updated><title type='text'></title><content type='html'>&lt;span style=";font-family:lucida grande;font-size:180%;"  &gt;Firefox (OS X) Tip-Of-The-Day: Hacking the tab focus on form elements&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is not CSS, but it does drive me batty when I’m creating forms.&lt;br /&gt;&lt;br /&gt;Does this bother you, too? When you tab a form in Firefox (on a Mac) it skips the radio buttons, checkboxes, and select drop-down fields. Hate that!&lt;br /&gt;&lt;br /&gt;I recently found the hack to fix this:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Type &lt;span style="font-family:courier new;"&gt;about:config&lt;/span&gt; in the URL bar.&lt;/li&gt;&lt;li&gt;In the Filter field, type &lt;span style="font-family:courier new;"&gt;tabfocus&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;Double-click on the &lt;span style="font-style: italic;"&gt;accessibility.tabfocus&lt;/span&gt; preference.&lt;/li&gt;&lt;li&gt;Change the value to &lt;span style="font-family:courier new;"&gt;7&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;Restart your browser and tab away.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;If &lt;span style="font-style: italic;"&gt;accessibility.tabfocus&lt;/span&gt; isn’t in the list (it wasn’t in mine):&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Right-click on Firefox.app and select &lt;span style="font-style: italic;"&gt;Show Package Contents&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Open /Contents/MacOS/greprefs/&lt;span style="font-weight: bold;"&gt;all.js&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Insert &lt;span style="font-family:courier new;"&gt;pref("accessibility.tabfocus", 7);&lt;/span&gt; (I put it where all the other accessibility prefs were declared)&lt;/li&gt;&lt;li&gt; Restart your browser and tab away.&lt;/li&gt;&lt;/ol&gt;~&lt;br /&gt;&lt;br /&gt;BREAKING NEWS:&lt;br /&gt; It turns out this tabbing thing is handicapped by default in Mac OS X. However, changing it is simple through System Preferences &gt; Keyboard &amp; Mouse &gt; &lt;span style="font-style: italic;"&gt;Keyboard Shortcuts&lt;/span&gt;. At the bottom of that window, it says:  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;blockquote style="color: rgb(102, 102, 0);"&gt;&lt;p&gt;&lt;strong&gt;Full keyboard access&lt;/strong&gt;&lt;br /&gt;In windows and dialogs, press Tab to move the keyboard focus between:&lt;/p&gt;  &lt;p&gt;[  ] Text boxes and lists only&lt;br /&gt;[  ] All controls&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;So there. Just check and you’re done. So my question is, why is it handicapped in the first place??&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-115930376671684546?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/115930376671684546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=115930376671684546&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/115930376671684546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/115930376671684546'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2006/09/firefox-os-x-tip-of-day-hacking-tab_26.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-115919541828644924</id><published>2006-09-25T10:17:00.000-04:00</published><updated>2006-09-25T10:43:38.326-04:00</updated><title type='text'></title><content type='html'>&lt;span style=";font-family:lucida grande;font-size:180%;"  &gt;Margin Inheritance Bug in IE 5/6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is documented in a number of blogs, including Quirksmode, but I wanted to repeat it here as a memo to me.&lt;br /&gt;&lt;br /&gt;Some people refer to this as the Margin Doubling Bug, but I think inheritance is what’s really happening so it depends whether you prefer to name by cause or by effect.&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:lucida grande;font-size:130%;"  &gt;The Problem&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Some form elements (esp inputs) inherit the margin of their parent container when you float them. Especially if one uses a fieldset container with margins set.&lt;/li&gt;&lt;li&gt;This also happens with some non-form elements in particular circumstances (I haven’t made an exhaustive study to determine precisely when this occurs, but if I run across examples, I’ll post them here).&lt;/li&gt;&lt;li&gt;Trying to set &lt;span style="font-family:courier new;"&gt;margin:0&lt;/span&gt;&lt;span style="font-style: italic;font-family:courier new;" &gt; &lt;/span&gt;on the inheriting element does nothing.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style=";font-family:lucida grande;font-size:130%;"  &gt;The Solutions&lt;/span&gt;&lt;br /&gt;Try one of these solutions, in this order, until the problem goes away:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Set &lt;span style="font-family:courier new;"&gt;overflow: hidden&lt;/span&gt; on the child element&lt;/li&gt;&lt;li&gt;Set &lt;span style="font-family: courier new;"&gt;display: inline&lt;/span&gt; on the child element&lt;/li&gt;&lt;li&gt;Wrap the child element in a div and set the &lt;span style="font-family: courier new;"&gt;float&lt;/span&gt;, &lt;span style="font-family: courier new;"&gt;padding&lt;/span&gt;, &lt;span style="font-family: courier new;"&gt;margin&lt;/span&gt; on the div&lt;/li&gt;&lt;/ul&gt;In my struggles with a floated submit button inheriting a right margin, I had to use the last solution, which is the least preferred since it adds more markup than is really necessary. But even trying to use IE conditional CSS wouldn’t work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-115919541828644924?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/115919541828644924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=115919541828644924&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/115919541828644924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/115919541828644924'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2006/09/margin-inheritance-bug-in-ie-56-this.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-115885360545943425</id><published>2006-09-21T10:57:00.000-04:00</published><updated>2006-09-21T11:52:01.596-04:00</updated><title type='text'></title><content type='html'>&lt;span style=";font-family:lucida grande;font-size:180%;"  &gt;IE disregards  &amp;lt;/li&gt; (list closing tags)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I’ve been making modified &lt;a href="http://alistapart.com/articles/dropdowns/" target="_blank"&gt;Suckerfish&lt;/a&gt; (and &lt;a href="http://www.htmldog.com/articles/suckerfish/dropdowns/" target="_blank"&gt;Son of Suckerfish&lt;/a&gt;) Drop-Down Menus with background colours and border separated. The trouble is IE ignores closing list tags, meaning the carriage return in the HTML gets rendered as a space between the list items (below the bottom border of my list element). This tiny gap makes me nuts. The only way to get rid of it is to close the gaps in the HTML between &amp;lt;/li&gt; and the next &amp;lt;li&gt; or &amp;lt;/ul&gt;.&lt;br /&gt;&lt;br /&gt;So instead of this easy-to-read markup:&lt;br /&gt;&amp;lt;ul&gt;&lt;br /&gt;  &amp;lt;li&gt;item 1&amp;lt;/li&gt;&lt;br /&gt;  &amp;lt;li&gt;item 2&amp;lt;/li&gt;&lt;br /&gt;  &amp;lt;li&gt;item 3&amp;lt;/li&gt;&lt;br /&gt;&amp;lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;… you need to make it:&lt;br /&gt;&amp;lt;ul&gt;&amp;lt;li&gt;item 1&amp;lt;/li&gt;&amp;lt;li&gt;item 2&amp;lt;/li&gt;&amp;lt;li&gt;item 3&amp;lt;/li&gt;&amp;lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://home.hccnet.nl/a.jones/bugs/list%20white%20space.htm" target="_blank"&gt;This person&lt;/a&gt; has a JavaScript for removing the white space, but it didn’t work for me. I’ll have to crack open the JavaScript text to figure out why not.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-115885360545943425?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/115885360545943425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=115885360545943425&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/115885360545943425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/115885360545943425'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2006/09/list-closing-tags-ive-been-making.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34760203.post-115878206592803950</id><published>2006-09-20T15:34:00.001-04:00</published><updated>2009-06-25T14:57:30.099-04:00</updated><title type='text'></title><content type='html'>&lt;span style=";font-family:lucida grande;font-size:180%;"  &gt;Negative margins/indents bug in IE 5/6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I read someone else’s post about this bug last week, but I ignored it because it had never come up for me. Well, guess what? It’s a new week.&lt;br /&gt;&lt;br /&gt;So here it is: if you try to apply a negative margin (and others report it happens with negative indents as well) to an element whose parent &lt;a style="font-style: italic;" href="http://www.satzansatz.de/cssd/onhavinglayout.html" target="_blank"&gt;hasLayout&lt;/a&gt;, the element’s outer bits get cropped by the parent’s borders.&lt;br /&gt;&lt;br /&gt;Eg.&lt;br /&gt;&lt;div style="padding: 1em 0pt; float: left; width: 300px; margin-left: 20px; background-color: rgb(51, 51, 51); display: inline;"&gt;&lt;br /&gt;&lt;p style="color: rgb(255, 255, 255);"&gt;1. The parent grey box has &lt;em&gt;width:300&lt;/em&gt; and &lt;em&gt;float: left&lt;/em&gt; declared.&lt;/p&gt;&lt;br /&gt;&lt;p style="border: 1px solid rgb(153, 51, 0); margin: 0pt -10px; background-color: rgb(255, 255, 255);"&gt;2. This paragraph has a left and right margin of -10px. You should be able to see the red border extend outside the grey box and read all of the text.&lt;/p&gt;&lt;br /&gt;&lt;p style="color: rgb(255, 255, 255);"&gt;3. I include this to point out the importance of retaining the order of these three paragraphs.&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="clear: both;"&gt; &lt;/div&gt;&lt;br /&gt;In IE, the parts of the red-bordered paragraph beyond the grey box are cropped off.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="padding: 1em 0pt; margin-left: 20px; background-color: rgb(51, 51, 51);"&gt;&lt;br /&gt;&lt;p style="color: rgb(255, 255, 255);"&gt;1. This time, the parent grey background div has no &lt;span style="font-style: italic;"&gt;width&lt;/span&gt; or &lt;span style="font-style: italic;"&gt;float&lt;/span&gt; applied to it.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="border: 1px solid rgb(153, 51, 0); margin: 0pt -10px; background-color: rgb(255, 255, 255);"&gt;2. This paragraph has a left and right &lt;span style="font-style: italic;"&gt;margin&lt;/span&gt; of -10px. You should be able to see the red border extend outside the grey box and read all of the text.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="color: rgb(255, 255, 255);"&gt;3. I include this to point out the importance of retaining the order of these three paragraphs.&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;This time, IE renders the red-bordered paragraph entirely (or would, if the grandparent column didn’t have layout, which it does, meaning the right edge of the paragraph gets cropped).&lt;br /&gt;&lt;br /&gt;Peter-Paul Koch at Quirksmode.com noted:&lt;br /&gt;&lt;blockquote&gt;IE 7 crops the right margin of the first example, but not the left. IE Mac ignores the &lt;code&gt;margin-right: -10px&lt;/code&gt; in the first example.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Solutions, AFAIK:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Remove the &lt;span style="font-style: italic;"&gt;hasLayout&lt;/span&gt; trigger for the parent (width, height, float, plus others). Not much of a solution when the reason you needed the negative margin in the first place probably had something to do with the parent’s dimensions and positioning.&lt;/li&gt;&lt;li&gt;*UPDATE*: If you don’t mind adding another div layer, you can use a grandparent element (between the great-grandparent and parent) and declare padding to give enough room around the negative margined child. However, this won’t work when there is another (aunt) element floated beside the parent. I’m still looking into all the possible rearrangements…&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;If anyone knows of a work around that preserves the element order, please shoot.&lt;br /&gt;&lt;br /&gt;******UPDATE (2009.06.24):&lt;br /&gt;Solution is &lt;a href="http://cssmoo.blogspot.com/2009/06/solution-for-negative-marginsindents.html"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34760203-115878206592803950?l=cssmoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssmoo.blogspot.com/feeds/115878206592803950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=34760203&amp;postID=115878206592803950&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/115878206592803950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34760203/posts/default/115878206592803950'/><link rel='alternate' type='text/html' href='http://cssmoo.blogspot.com/2006/09/negative-marginsindents-bug-in-ie-56-i.html' title=''/><author><name>µ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
