NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Poul on March 04, 2010, 03:01:39 PM

Title: Combining CSS Classes
Post by: Poul on March 04, 2010, 03:01:39 PM
i seem to recall seeing a comment somewhere that one could combine/concatenate nettalk css classes on a template with something similar to  'leftjustify' + 'Boldthings' + 'myway'

is that possible? or was i imagining that?
tia
poul
Title: Re: Combining CSS Classes
Post by: kevin plummer on March 04, 2010, 03:37:15 PM
Bruce covered it in his webinar on NTW5. As far as I know you just leave a space between the classes

eg 'leftjustify boldthings myway'
Title: Re: Combining CSS Classes
Post by: Bruce on March 04, 2010, 10:01:07 PM
yes, all places where you put in a CSS class, it can be a space separated list.

Also in NT 5 if your list _starts_ with a space then the override will be "in addition to" what is normally there.
If it starts with a character then it will be "overriding" what is normally there.

cheers
Bruce
Title: Re: Combining CSS Classes
Post by: Poul on March 05, 2010, 07:24:57 AM
that's exactly what i was looking for - thank you.  It worked as it was supposed to but...
the result still did not snap my 'other' button into the same alignment as my 'change' button on my webbrowse as i expected.

i found a quirk that explains why, my change button had a "CSS class" filled in, on the 'columns property' tab, but it was dimmed out, i could not put this same value on my change button. !?

Ah, However if i change my button to a string, this prompt can be filled in.  then i entered my prompt, put it back to a button and the code now generated things the same so my buttons now line up.

I am using Nettalk4.