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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:40:38+00:00 2026-06-13T08:40:38+00:00

Below is my HTML code, I need your help to solve 2 issues, I

  • 0

Below is my HTML code, I need your help to solve 2 issues,

  1. I need to remove a table from code and make it tableless.
  2. Best way to render this code using template & jQuery AJAX, here data comes from XML file.

Running Code : http://jsfiddle.net/samansari/ppu6T/

XML Data:

$(function() {
    $.ajax({
        type: "POST",
        url: "/echo/xml/",
        dataType: "xml",
        data: {
            xml: "<data caption='Start Processes'><heading caption='Customer Registration'><info caption='Credit note approval' desc='Credit Note request form and approval process.'/></heading><heading caption='Installation'><info caption='Credit note approval' desc='Credit Note request form and approval process..'/><info caption='Credit And Rebill Note (smartforms)' desc='Generate and Process a Letter of Guarantee for the customer.'/></heading></data>>"
        },
        success: function(xml) {
            console.log(xml);
        }
    });
});​

HTML Code:

<div id="navcontainer">
    <ul>
        <li>
           <div class="gtpointer"><span>&#160;&#160;&#160;&#160;Start Processes</span>    </div>        
           <ul>
               <li>
                    <span> <span class="gtpointer">Customer Registration</span> </span>
                    <ul>
                        <li>
                            <span>
                                <table width="100%" border="0">
                                    <tr>
                                        <td width="30%">
                                            <span class="landingSubmenu"><a href="#">Credit note approval</a></span>
                                        </td>
                                        <td>
                                            <span >Credit Note request form and approval process.</span>
                                        </td>
                                    </tr>
                                </table>
                            </span>
                        </li>
                    </ul>
               </li>

                <li>
                    <span> <span class="gtpointer">Installation</span> </span>
                    <ul>
                        <li>
                            <span>
                                <table width="100%" border="0">
                                    <tr>
                                        <td width="30%">
                                            <span class="landingSubmenu"><a href="#">Credit note approval</a></span>
                                        </td>
                                        <td>
                                            <span >Credit Note request form and approval process.</span>
                                        </td>
                                    </tr>
                                </table>
                            </span>
                        </li>
                        <li>

                            <span>
                                <table width="100%" border="0">
                                    <tr>
                                        <td width="30%">
                                            <span class="landingSubmenu"><a href="#">Credit And Rebill Note (smartforms)</a></span>
                                        </td>
                                        <td>
                                            <span >Generate and Process a Letter of Guarantee for the customer.</span>
                                        </td>
                                    </tr>
                                </table>
                            </span>

                        </li>
                    </ul>
                </li>


           </ul>
        </li>



    </ul>
</div>

Thanks to All.

  • 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-13T08:40:39+00:00Added an answer on June 13, 2026 at 8:40 am

    For the 1st question:
    just use inline-block displayed DIVs instead of TDs, and remove TABLEs and TRs.
    Then set width percentage for both DIVs, and vertical-alignment to middle to simulate TDs:

    http://jsfiddle.net/bQbzK/

    HTML

     <div id="navcontainer">
         <ul>
             <li>
                 <div class="gtpointer">
                     <span>&#160;&#160;&#160;&#160;Start Processes</span>
                 </div>        
                 <ul>
                     <li>
                         <span> 
                             <span class="gtpointer">Customer Registration</span> 
                         </span>
                         <ul>
                             <li>
                                 <span>
                                     <div class="col1">
                                         <span class="landingSubmenu">
                                             <a href="#">Credit note approval</a>
                                         </span>
                                     </div>
                                     <div  class="col2">
                                          <span >
                                           Credit Note request form and approval process.
                                          </span>
                                     </div>
                                 </span>
                              </li>
                         </ul>
                     </li>                       
                     <li>
                         <span> 
                             <span class="gtpointer">Installation</span> 
                         </span>
                         <ul>
                             <li>
                                 <span>
                                    <div class="col1">
                                       <span class="landingSubmenu">
                                          <a href="#">Credit note approval</a>
                                       </span>
                                    </div>
                                    <div class="col2">
                                       <span >
                                        Credit Note request form and approval process.
                                       </span>
                                    </div>
                                 </span>
                              </li>
                              <li>                                    
                                  <span>
                                     <div class="col1">
                                        <span class="landingSubmenu">
                                           <a href="#">
                                            Credit And Rebill Note (smartforms)
                                           </a>
                                        </span>
                                     </div>
                                     <div  class="col2">
                                        <span>
                                         Generate and Process a Letter of 
                                         Guarantee for the customer.
                                        </span>
                                     </div>
                                  </span>    
                               </li>
                            </ul>
                         </li>
                      </ul>
                   </li>    
               </ul>
           </div>
    

    CSS:

    div{
        display: inline-block;
        vertical-align: middle;
    }
    .col1{
        width: 30%;
    }
    .col2{
        width: 69%;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need your help, How can the code below be modified such that when
I am getting a Value cannot be null error from the code below: @Html.Label(material.ExtendedGroup)
Please, either look at http://jsfiddle.net/mawg/pL9kd/ or stick the code below into your favourite HTML
Ok, people, I need your help. I've found some code here on Stackoverflow (can't
I have below html code in my aspx. <input type=hidden id=medicalLink value='<a href=/forms/contactus.aspx >Contact
I have below html code in one of the opensource project. <form action=/wiki/bin/view/Main/Search> <div
I'd like to retrieve the image source within the below HTML code block, but
I have below is the html code for TD which gets appended after matching
Below are the options that I have in my HTML code: <label id="subn"> <select
I am writing a very simple HTML code which is listed below. Written in

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.