Hi,
I’m using CSS in the Notes Client for the first time, and am encountering a problem whereby i always get a carriage return instered before my rendered text.
I have created a simple test form as below:
aaa
ccc
where lines 1 and 3 are normal text, and the pass-thru enabled computed text on line 2 is:
“bbb”
and it displays as…
aaa
bbb
ccc
the style is applied correctly, but i always get a carriage return inserted…
And if my form is:
aaaccc
i get
aaa
bbbccc
???
What am i missing?
Subject: CSS in Client always inserts a carriage return???
it’s because you are switching from non-passthru to passthru. can you not just use passthru for all the text?
otherwise try placing a non-passthru “space” immediately before and after the , and have everything on the one line. (that’s a guess)
i tend to shy away from using mixed passthru code on a Form for this exact reason, although all of my work is done with browsers and not the Notes client.
brad
Subject: RE: CSS in Client always inserts a carriage return???
Hi Brad,
Thanks for the reply. It’s not really practical to change the whole form to be passthru html for a notes client form.
In my “real life” form (as opposed to the simple test form) i have a big table displaying lots of values, and wanted to aid the user to pick out important figures (dependent on the actual value) by using a change in font color to distinguish them.
Even if there is no non-passthru html text within a table cell i still get a carriage return before my rendered text, which just makes it look sloppy.
There are obviously other ways i can highlight these special values, but this seemed like a quick and simple solution. I should’ve known better!
Martin