NetTalk Central

Author Topic: CSS Issue with Browse pages  (Read 3176 times)

bshields

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
    • Inhabit
    • Email
CSS Issue with Browse pages
« 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


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: CSS Issue with Browse pages
« Reply #1 on: October 25, 2013, 08:08:18 AM »
I agree - done for 7.28

bshields

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
    • Inhabit
    • Email
Re: CSS Issue with Browse pages
« Reply #2 on: October 27, 2013, 06:24:42 PM »
sweet