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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:28:24+00:00 2026-06-05T22:28:24+00:00

I plan to create an interactive golf score card for my website (XHTML). (Btw.

  • 0

I plan to create an interactive golf score card for my website (XHTML). (Btw. thats how such a scorecard looks like: ScoreCard). So at the end one should be able to insert a score for each hole in the appropriated input field in the virtual scorecard on the website. For me it is very important that the interactive scorecard really looks the same as the original (paper-) scorecard does and so my first approach was to scan and slice the scorecard image to reach that appearance.

Here you can see the way I sliced the image:

enter image description here

The idea was to insert HTML text input for each score field ending up with something like this:

enter image description here

After I sliced the image I reconstructed it using the HTML . To do that I put the image slices as the cell background.

<table>
  <tr>
    <td style="background: url("slice1.jpg") width="58px" height="25px">
      <input type="text"></inputText>
    </td>
  </tr>
  ...
</table>

At the first moment this worked fine (as Gimp offers quite a nice feature for this). Then the problem was that I had to create a HTML table to create the exact layout. As you can see the lower part of the layout is split up into 3 columns. The middle column is split up into several (for each hole) rows. So the left and right column have to be spanned over those rows. Ok finally that worked, but it lead to some kind of scaling problem. If I zoom in or out on the table the middle column (and only that one) is not scaled the right way. I am not able to fix this, and so I start doubting if this is the right technique for html image virtualization. I am really no specialist in the area of creating websites, so I would really appreciate any help on this. Maybe there is a complete other and better technique to do that, as I think it is a common job in webcreation. I couldn’t find any nice examples or tutorials on that.

  • 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-05T22:28:26+00:00Added an answer on June 5, 2026 at 10:28 pm

    Unless I’m missing anything, you don’t need to use any image slices, or any images at all to get this effect. This could all be done in plain CSS.

    Heres a rough example of how this could be achieved:

    http://jsfiddle.net/Curt/wxFtJ/

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

Sidebar

Related Questions

I plan to create a table to store the race result like this: Place
I'm creating a website in PHP and mysql. I plan to create a native
This is what my Plan.rb looks like: class Plan < ActiveRecord::Base has_many :users has_friendly_id
I have this plan to create my own portfolio website and it has been
I'd like to know how to create map or floor plan with wpf. For
I plan to create 3 editions of a piece of software in Java from
Purpose: I plan to Create a XML file with XmlTextWriter and Modify/Update some Existing
I plan to create a typical Master-Detail scenario, i.e. a collection of items displayed
I am planning to create a Flash AS3 game that is like SimCity. Or
I would like to create a custom Android button from 9patches, but without using

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.