Using <!--[if IE 8]> is actually less kludgy than the alternatives.
'Safe'
Buffistechnology 3: "Press Some Buttons, See What Happens."
Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!
Phoo, I was afraid of that. I hate maintaining the same data in multiple places.
ETA: Thanks!
OTOH, what mobile devices use IE LTE 8? None. Depending on what changes you need to make (and whether you're building mobile-first or desktop-first), it may be safe to serve IE8 the normal stylesheet; it won't see your queries at all, but there are no mobile devices that need to.
Yeah, that's what I'm figuring. It's still very annoying, though.
SO annoying.
One other thought -- if you don't want to maintain a separate IE stylesheet, you can still use the conditional comment approach to add a class to your html or body element, then use that as a hook for styling it in your main stylesheet -- something like
t !--[if IE 8]
t html class="ie
t ![endif]--
t !--[if !(IE 7) | !(IE 8) ]
t !--
t html
Holy crap that's some messed up quickedit. But you get the idea. It's still hacky, but if you find it easier to keep everything in one stylesheet rather than two, it can help.
My head hurts now. *g* I think I'll stick with the two stylesheets. But thanks for all the suggestions.
Is there a way to reopen a tab that was accidentally closed? I see the "reopen last browsing session" but that only gets me some seemingly random "not really my last browsing session tab" and is still not what I want. I want to reopen my most recently closed tab. That I didn't mean to. Because the coloring is so subtle in IE that I can't tell what tab correlates to what page I'm currently looking at! (The fact that it's semi-transluscent and picks up my desktop image doesn't help, either).
In Internet Explorer? I don't know. Let me see...
If you click the star in the upper righthand corner to open your history bar, you should be able to view sites by the order visited today, but there's no way to see only recently closed sites. I don't know if that will help you or not - I guess it depends on how recently you originally opened the tab?
Chrome allows you to do it by right-clicking on the tab bar and choosing "reopen closed tab", but it will only open the most recently closed tab. Its history view is even less customizable than IEs otherwise, shamefully.
Firefox has a "Recently Closed Tabs" section in its history menu that gives you the last several closed tabs. That seems like the most flexible method for this use case. I hate it when I find reasons Firefox is better than Chrome since I've switched my daily driver.
In other news, has anybody else noticed the fairly recent multi-user option in Chrome? I love it! It allows me to have two Chrome windows with entirely different signins, cookies, and bookmarks, so I can have one that's my work identity (work google sign in, school related bookmarks only, pinned tabs for my gradebook etc) and a different window that's all my personal stuff. Like fast user switching multiple accounts on OS X, but browser only, and actually fast. It has allowed me to disable fast user switching on my wife's Macbook in fact, since the only reason we switched users was to avoid stepping on each other's gmail signins.
Yeah, I tried that, and in accordance with the natter discussion, I'm one of those people who keeps dozens of tabs open for days at a time, so I'm looking at going back through every day and opening every history line.
Time to go back to Firefox (just as this laptop screen is giving signs of dying).