NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: MyBrainIsFull on September 16, 2015, 04:23:57 PM
-
Hi all, I must be missing something obvious, maybe someone an point it out to me ?
In a browse I have a long text string
I am trying to span it over a couple of columns to make the column wider see img 1
Maybe my first step is the error, I added a dummy column to the right of my text and set the the text header and column to span 2 columns Img 2
Error 1 - The header of the table drops its blue background and shows white
Error 2 - the data does not span into the second column
My settings are in img 3 & 4 for the header and data
Thanks
K
[attachment deleted by admin]
-
Hi Kev,
I'v never used that feature but I would use Firebug to inspect that column with your data in it. Maybe it splits the existing column into 2?
As for what you are trying to do, I think you need to use CSS to force the column to be wider.
-
Hi Kevin,
That span is only useful for multi-row browses.
I'm probably with Kevin on this one - set a width, or minwidth for the column.
Cheers
Bruce
-
OR you could do this........ <V B Grin>
change "text" to "Description showing the scores for each lesson"
See updated image
[attachment deleted by admin]
-
if all you want is non-wrapped text, then just add the class
' nt-nowrap'
to the CSS for the cell.
cheers
Bruce
-
Thanks for that Bruce, is there anywhere in the docs that lists these little gems like ' nt-nowrap'
I did not know it existed, and do not know where to start to look for them besides "they are in the source code"
Thanks
K
-
Hi Kevin,
These things are not documented as such (we could also use a "WebServer methods and properties" section in the docs!).
But there is something you can do: try browsing the netweb.css file. Inside that you'll find your 'list of gems': tons of little css classes that you can use for formatting and coloring your elements. Also reading about css to find out what is actually possible is highly recommended ;-)
Peter
-
THanks for that Peter, looks like an evenings light reading