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 42875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:24:23+00:00 2026-05-10T15:24:23+00:00

I have a bowling web application that allows pretty detailed frame-by-frame information entry. One

  • 0

I have a bowling web application that allows pretty detailed frame-by-frame information entry. One thing it allows is tracking which pins were knocked down on each ball. To display this information, I make it look like a rack of pins:

o o o o  o o o   o o    o

Images are used to represent the pins. So, for the back row, I have four img tags, then a br tag. It works great… mostly. The problem is in small browsers, such as IEMobile. In this case, where there are may 10 or 11 columns in a table, and there may be a rack of pins in each column, Internet Explorer will try to shrink the column size to fit on the screen, and I end up with something like this:

o o o   o o o o  o o   o

or

o o o o o o  o o o  o

The structure is:

<tr>     <td>         <!-- some whitespace -->         <div class="..."><img .../><img .../><img .../><img .../><br/>...</div>         <!-- some whitespace -->     </td> </tr> 

There is no whitespace inside the inner div. If you look at this page in a regular browser, it should display fine. If you look at it in IEMobile, it does not.

Any hints or suggestions? Maybe some sort of &nbsp; that doesn’t actually add a space?


Follow-up/Summary

I have received and tried several good suggestions, including:

  • Dynamically generate the whole image on the server. It is a good solution, but doesn’t really fit my need (hosted on GAE), and a bit more code than I’d like to write. These images could also be cached after the first generation.
  • Use CSS white-space declaration. It is a good standards-based solution, but it fails miserably in the IEMobile view.

What I ended up doing

*hangs head and mumbles something*

Yes, that’s right, a transparent GIF at the top of the div, sized to the width I need. End code (simplified) looks like:

<table class="game">     <tr class="analysis leave">         <!-- ... -->         <td> <div class="smallpins"><img class="spacer" src="http://seasrc.th.net/gif/cleardot.gif" /><br/><img src="/img/pinsmall.gif"/><img src="/img/nopinsmall.gif"/><img src="/img/nopinsmall.gif"/><img src="/img/nopinsmall.gif"/><br/><img src="/img/pinsmall.gif"/><img src="/img/pinsmall.gif"/><img src="/img/nopinsmall.gif"/><br/><img src="/img/nopinsmall.gif"/><img src="/img/nopinsmall.gif"/><br/><img src="/img/nopinsmall.gif"/></div> </td>         <!-- ... -->     </tr> </table> 

And CSS:

div.smallpins {     background: url(/img/lane.gif) repeat;     text-align: center;     padding: 0;     white-space: nowrap; } div.smallpins img {     width: 1em;     height: 1em; } div.smallpins img.spacer {     width: 4.5em;     height: 0px; } table.game tr.leave td{     padding: 0;     margin: 0; } table.game tr.leave .smallpins {     min-width: 4em;     white-space: nowrap;     background: none; } 

P.S.: No, I will not be hotlinking someone else’s clear dot in my final solution 🙂

  • 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. 2026-05-10T15:24:24+00:00Added an answer on May 10, 2026 at 3:24 pm

    You could try the css ‘nowrap’ option in the containing div.

    {white-space: nowrap;} 

    Not sure how widely that is supported.

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

Sidebar

Ask A Question

Stats

  • Questions 78k
  • Answers 78k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Go with immutable datastructures. No getters, no setters, no hassle.… May 11, 2026 at 3:56 pm
  • added an answer This one's been asked before. You want the SelectMany() method,… May 11, 2026 at 3:56 pm
  • added an answer See here http://www.pandamonial.com/2008/04/f-vs-option.html May 11, 2026 at 3:56 pm

Related Questions

To give an example of the kind of request that I can't figure out
I have long been wondering why lazy evaluation is useful. I have yet to
I'm looking at developing a device which will need to support Ethernet over USB
I have a web-service that I will be deploying to dev, staging and production.

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.