Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8174117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:22:10+00:00 2026-06-06T22:22:10+00:00

I am attempting to use the HTML5 Boilerplate system (http://html5boilerplate.com/) for a client’s website,

  • 0

I am attempting to use the HTML5 Boilerplate system (http://html5boilerplate.com/) for a client’s website, but I am having trouble with the built in .ir class when the site is viewed in certain browsers and on certain devices.
Namely IE7 and some (or all) Blackberries based on feedback and testing on my end. The main nav and other elements of the design are not appearing / are not navigable in these situations.
The client is a restaurant that caters to a large business district, so unfortunately a ton of their prospects and customers are on corporate systems still using IE7 and are unable to use the site, as-is.

Here is a link to the relevant page(s):
http://www.vb3restaurant.com

vb3restaurant.com/index-pizza.html

Here is the .ir class that I believe to be the issue (though it could be something else):

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }

Would be quite appreciated if someone could point me in the right direction as to what is “breaking” or a better/cross browser/IE friendly way for me to accomplish this design, with image replacement or some other technique.

I am not an expert programmer by any means, but I have put up a few sites and have worked with a few different frameworks, CMS’s, etc. I have attempted looking on this site and elsewhere for answers, so I apologize in advance if I am missing an obvious thread that answers this question or if I have asked it in the wrong place or incorrectly.
And of course- thanks in advance for your time and help!

Best,
AB

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T22:22:13+00:00Added an answer on June 6, 2026 at 10:22 pm

    The ir class is hiding the content with text-indent:-999em (improvement: http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/).

    But the images that replace those items have new nth-child selectors that are not recognised by IE7, or IE8: http://kimblim.dk/css-tests/selectors/. The rendering engines in these browsers pre-date the nth-child selector unfortunately.

    You can either write a jQuery shim to patch your selectors: http://verboselogging.com/2010/01/17/making-nth-child-work-everywhere. Or rewrite your selectors for all browsers, giving the menu items ids or class-names.

    Sucks right? Well, some think that of image-replacement! (particularly for low-bandwidth mobile devices) So… you could also forget using image-raplacement for IE7/8 using an IE-specific stylesheet to style your plain text.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am attempting to use the smooth scroll by smoothdivscroll dot com/#quickdemo , but
I am attempting to use http://html2canvas.hertzen.com/ to take screenshots of my webpage. I am
attempting to use this railscast as a guide: http://railscasts.com/episodes/197-nested-model-form-part-2?view=asciicast and running into this error:
Android 3.2. Attempting to use Switch (http://developer.android.com/reference/android/widget/Switch.html) in my project. Switch.class is not found
I am attempting to use the data sources pluigin for rubymine 4.0.3 but I
I'm attempting to use mod_rewrite to redirect requests to 123.example.com/456/file.html to example.com/123/456/file.html . The
I'm attempting to use an UpdatePanel, but can't get partial-page updates to work. When
I'm attempting to use an XBAP to acquire TWAIN Images but I'm not even
Attempting to use the data series from this example no longer passes the JSONLint
Attempting to use XStream's JavaBeanConverter and running into an issue. Most likely I'm missng

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.