SOLVED ----- Table rows...

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
I am looking at the source view in FireFox from the Default.aspx and noticed the nop 1.9 created
a table dynamically, my question is can the table, tr or td be modified from say 2 tr to 4 tr.



<div class="home-page-category-grid">

    <table id="ctl00_ctl00_cph1_cph1_ctrlHomePageCategories_dlCategories" cellspacing="0" border="0" style="border-collapse:collapse;">

<tr>
      <td class="item-box">
            <div class="category-item">
                <h2 class="title">
                    <a id="ctl00_ctl00_cph1_cph1_ctrlHomePageCategories_dlCategories_ctl00_hlCategory" href="#"</a>
                </h2>
                <div class="picture">
                    <a id="ctl00_ctl00_cph1_cph1_ctrlHomePageCategories_dlCategories_ctl00_hlImageLink" title="Show products in category cat1" href="#"><img title="Show products in category cat1" src="#" alt="#" style="border-width:0px;" /></a>

                </div>
            </div>
        </td>
  </tr>
<tr>
    <td class="item-box">
            <div class="category-item">
                <h2 class="title">
                    <a id="ctl00_ctl00_cph1_cph1_ctrlHomePageCategories_dlCategories_ctl01_hlCategory" href="#"></a>

                </h2>
                <div class="picture">
                    <a id="ctl00_ctl00_cph1_cph1_ctrlHomePageCategories_dlCategories_ctl01_hlImageLink" title="Show products in category cat2" href="#"><img title="Show products in category cat2" src="#" alt="#" style="border-width:0px;" /></a>
                </div>
            </div>
        </td>
  </tr>
12 years ago
Do you want to show more products in more rows?
12 years ago
Hi theonlywayislove,

I tried to implement what you gave me the other day but could not get it to work, i have changed the HomePageCategories.ascx repeatcolumns to 1 from 4, and didn't know if there was a way of adjusting where the <tr> comes from, from 1 to 4, just trying to find a soultion into displaying the categories like zavvi.com.
12 years ago
That is asp.net datalist control list property repeatcoloumns="3" that dynamically generates the tables tr td

Eventhough, if you set the coloum to 4 and could not see 4 coloumns, then the parent div tag width is forcing repeat lesser tables.

you may have to modify the class="home-page-category-grid" width to see four coloumns.

hope this helps
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.