<div>Martijn,</div>
<div> </div>
<div>Thank you very much. Just as you said, there was a space in between openning and closing tags, but the reason I missed it was because I had indented like the following:<br>_<textarea name="var"></div>
<div>_</textarea><br> </div>
<div>since it was part of an if tag block. So I changed it like the following:<br>_<textarea name="var"></textarea><br> </div>
<div>Anyway, thanks again. I will pay much closer attention to how I format my code in the future.</div>
<div> </div>
<div>Cheers.</div>
<div> </div>
<div><span class="gmail_quote">On 9/19/05, <b class="gmail_sendername">Martijn Pieters</b> <<a href="mailto:mj@zopatista.com">mj@zopatista.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Ivan Stout wrote:<br>> It appears that the text input field I have created using a dtml method<br>> has a default space character when you click in the field. Is there a
<br>> way to get rid of this?<br><br>Depends on the HTML used; this is really a HTML question more than a DTML<br>question.<br><br>If this is a textarea, make sure there are no spaces between the opening<br>and closing tags:
<br><br><textarea ..attrs..></textarea><br><br>or, if you fill the textarea from with a dtml attribute, eliminate the<br>spaces there too:<br><br><textarea ..attrs..>&dtml-variablename;</textarea>
<br><br>If you need multiple lines to avoid excessive wrapping or scrolling, put<br>the angle brackets on a new line to eliminate whitespace (newlines are<br>whitespace too!):<br><br><textarea ..attrs..<br> ><dtml-var expression_or_variable ..attrs..
<br> ></textarea><br><br>If you used an input tag, the same applies, but now to whitespace between<br>the quotes of the value attribute.<br><br>Martijn Pieters<br><br><br>_______________________________________________
<br>Zope maillist - <a href="mailto:Zope@zope.org">Zope@zope.org</a><br><a href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</a><br>** No cross posts or HTML encoding! **<br>
(Related lists -<br><a href="http://mail.zope.org/mailman/listinfo/zope-announce">http://mail.zope.org/mailman/listinfo/zope-announce</a><br><a href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev
</a> )<br></blockquote></div><br>