NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: MHof 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
-
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
-
Fantastic. When will this version be released?
-
today or tomorrow.
-
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]
-
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
-
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
-
Just tried making it sortable and that indeed makes the header right-justified,
Why would this not work on a non-sortable header?????
-
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
-
Thanks Bruce, much appreciated.
It makes the browses look much better when the data lines up with the headers.