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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:40:30+00:00 2026-05-20T05:40:30+00:00

In my store there many items have different options like size or color. The

  • 0

In my store there many items have different options like size or color. The eCommerce platform allows for these but codes them using tables. I cannot access the source files of the platform so there’s nothing I can do on the backend to format these the way I would like. Currently they are formatted like:

<div class="attributes">
    <table>
        <tbody>
            <tr>
                <td>Size:</td>
                <td>&nbsp;</td>
                <td><select><option>Select</option></select</td>
            </tr>
        </tbody>
    </table>
</div>

Each option is in its own row so if there were the option to pick the color, there would just be another row in the table with three <td>‘s that had the options for the color. Now what I want is instead of these to be listed vertically, I want them listed horizontally. What would be the best way to accomplish this? I should mention JavaScript is my only choice as the platform doesn’t allow any asp or php files to be uploaded to the server. I’m hoping there is a relatively easy way to do this. I’ve tried grabbing the contents of each <td> and storing it and then removing the <table> from the DOM and inserting the contents into <p> tags but that got to be more trouble than it was worth. Any suggestions would be greatly appreciated.

  • 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-05-20T05:40:31+00:00Added an answer on May 20, 2026 at 5:40 am

    Maybe you should change the platform. 😉
    If JavaScript is your only choice, then you need to parse the tables and rewrite the whole DOM.Parse the table, convert it into json and then you should use javascript templating for this (maybe Mustache), to make your live easier. Otherwise you might go insane.

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

Sidebar

Related Questions

There are, of course, many many ways to store a base of data. A
Currently, when I STORE into HDFS, it creates many part files. Is there any
I have to work on a database in which there are many stored-procedures &
Say that I have many blogs, and each blog has_many posts. These are stored
is there any way to store duplicate keys in a dictionary? I have a
Is there a way to store values on client side permanently? I have a
I have a collection of physical parameters associated with different items. For example: Item,
I have been looking for a solution and I found many different opinions to
I want to design a table for items. There are many types of items,
I have some items in my listbox which I will store everyone of them

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.