NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: bshields on October 25, 2013, 05:11:01 AM

Title: CSS Issue with Browse pages
Post by: bshields on October 25, 2013, 05:11:01 AM
Hi Bruce,

Just a small issue with CSS.

When adding a field in a NewWebBrowse that has sorting disabled, it doesn't generate the "Header DIV". Obviously you don't need the DIV as there is no click code required, but as just plan THs have CSS Style limitations, I'd really like to have the DIV generated with the "Header DIV" class so i can style my non-sorting headers.

Column with sorting HTML

<th id="head_3" class="nt-browse-header-not-selected ui-corner-top">
  <div data-do="sh" class="nt-right nt-fakeget">
    <a data-value="3" title="Click here to sort by cost">Cost</a>
  </div>
</th>

Column without sorting HTML

<th id="head_4" class="nt-browse-header-not-selected ui-corner-top">Retail</th>


I'd like to see:

<th id="head_4" class="nt-browse-header-not-selected ui-corner-top">
  <div class="nt-right">Retail</div>
</th>



I know this is really fiddly and I can clumsily style it via the THs ID, but that will break if i reorder columns.

I'm still on NT71.8 so maybe its changed in recent builds.

Regards
Bill Shields

Title: Re: CSS Issue with Browse pages
Post by: Bruce on October 25, 2013, 08:08:18 AM
I agree - done for 7.28
Title: Re: CSS Issue with Browse pages
Post by: bshields on October 27, 2013, 06:24:42 PM
sweet