NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Mike McLoughlin on January 23, 2010, 02:02:15 AM
-
Has anyone seen this problem:
http://www.sterlingdata.com/wam problem.jpg (http://www.sterlingdata.com/wam problem.jpg)
When the IE window is maximized it's OK but as soon as I reduce the window size the problem shows. I know that the prompt "column" will wrap in these circumstances but how can I stop it overlaying the first line? I don't want to use Span because I think the "ragged" left edge look is hard to follow.
Using NT4.40 and C6.3
thanks
Mike Mcloughlin
-
Hi Mike,
try adding NoWrap to the prompt class on the form. In NT4 it's a little harder than NT5.
NT4:
Net Web Form Settings
CSS Classes tab
Set Prompts To
'FormPrompt NoWrap'
be careful, it's case sensitive.
This only applies to this form though, so you'll need to repeat for each form that has this issue.
NT5:
WebServer procedure
Extensions
NetTalk Object
Settings Tab
Styles Tab
Form Tab
Set Prompt Class to
'nt-form-div nt-prompt nt-nowrap'
You can also override it on the procedure level if you like.
In NetTalk 5 all "class" prompts behave the same way: If they contain a leading space then they are _added_ to the existing styles for that element, if they do not contain a leading space then they _override_ the css for that element.
So if you set the prompt class, on the form itself, to
' nt-nowrap'
(with a leading space)
then the default global styles ('nt-form-div nt-prompt') would still be applied.
Cheers
Bruce
-
That fixed it
thanks
Mike