Aligning images horizontally from an external HTML file

Posted on 2007-09-28
Last Modified: 2010-04-03
I am currently making a set of maps for a client. users will click on an area of the map and be shown a list of shops from that area. The list of shops is generated from a CMS system and is an external text file that i am loading in using LoadVars.

The problem i am having is that under the address of the shop there has to be a row of icons showing what the shop offers eg a football icon, a rugby icon etc. But loading the images in from the text file as regular <img> tags results in the images all stacking on top of each other instead vertically and not sitting horizontally as they would in a browser. I have tried both JPG and GIF files with the same result.

Any help with this would be greatly appreciated, or another method of importing the icons would also help.

Question by:davemillhouse
    LVL 1

    Author Comment

    I figured out the solution  this morning. You need to use vspace and hspace (with a negative value to pull it up into place) to get the images to sit side by side.
    LVL 1

    Accepted Solution

    PAQed with points refunded (250)

    EE Admin

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
    I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
    The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
    This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now