NetTalk Central

Author Topic: Right Justify Header  (Read 2696 times)

MHof

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Right Justify Header
« on: May 02, 2012, 12:37:10 AM »
Hi Bruce,

I am trying to right justify mainly numeric browse columns. I know that you can use "float: right" in CSS to do this. However, how do you apply this in Nettalk itself. There is a "Header CSS Class" field for each column but cannot figure out what to enter there. I tried "RightJustidy" but this didn't work.
I am getting a lot of pressure do get this sorted as it makes some browses look rather funny with the header and content not lining up correctly.

Marcel

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: Right Justify Header
« Reply #1 on: May 02, 2012, 02:52:56 AM »
Hi Marcel,

You need build 6.29.
In this build, on the CSS tab for the column is a setting "Header Div CSS Class".
This defaults to
'nt-left nt-fakeget'
you can set it to
'nt-right nt-fakeget'

Cheers
Bruce

MHof

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: Right Justify Header
« Reply #2 on: May 02, 2012, 03:37:32 PM »
Fantastic. When will this version be released?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: Right Justify Header
« Reply #3 on: May 02, 2012, 09:43:41 PM »
today or tomorrow.

MHof

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: Right Justify Header
« Reply #4 on: May 03, 2012, 02:42:04 PM »
Hi Bruce,

Have downloaded and installed 6.29. However this doesn't seem to work as per screenshots.
What have I done wrong?

Marcel

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: Right Justify Header
« Reply #5 on: May 03, 2012, 09:38:09 PM »
using firebug, do you see those styles on the header?

I was testing on an example, that had "sortable" headers - are your headers sortable, or maybe not?

cheers
Bruce

MHof

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: Right Justify Header
« Reply #6 on: May 03, 2012, 09:48:39 PM »
No, they are not sortabe. In this particular program they shouldn't be sortabe anyway,
However, will try changing to sortable to see if that is indeed the issue

MHof

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: Right Justify Header
« Reply #7 on: May 03, 2012, 09:52:14 PM »
Just tried making it sortable and that indeed makes the header right-justified,
Why would this not work on a non-sortable header?????

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: Right Justify Header
« Reply #8 on: May 03, 2012, 10:12:07 PM »
different code is generated for sortable, and non-sortable headers.
I'll look into it and keep you posted.
(I'm updating our servers this morning though so it'll only be later today...)

Cheers
Bruce

MHof

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: Right Justify Header
« Reply #9 on: May 03, 2012, 11:01:21 PM »
Thanks Bruce, much appreciated.
It makes the browses look much  better when the data lines up with the headers.