<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
you want to look into making your own mini-module and use form_alter
to adjust the width of the text field<br>
<br>
once you've got the correct form, you need something like this:<br>
<br>
$form['title']['#size'] = 55;<br>
<br>
or whatever size you want.<br>
<br>
here is what you'd need for the blog create form - changes title
field size and alters its label too.<br>
<br>
<font face="Courier New">function mymodule_form_alter(&$form,
$form_state, $form_id) {<br>
if($form_id == blog_node_form) {<br>
# alters blog node create form. Changes 'Title' to 'Title of blog
post' and alters size of title text box.<br>
$form['title']['#title'] = t('Title of blog post');<br>
$form['title']['#size'] = 55;<br>
}<br>
}</font><br>
<br>
Remember to change "mymodule" to your actual module title and make
.info file too.<br>
<br>
<br>
<br>
<br>
<br>
On 17/11/2010 18:20, Broyhill, Gary wrote:
<blockquote cite="mid:C909B136.DE58%25Gary.Broyhill@lr.edu"
type="cite">
<title>CCK title field set width?</title>
<font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">Good day Drupalers:<br>
<br>
When creating a new content type, it seems that I cannot
change the width of the TITLE field. For all other fields
that I create, I can set the width. <br>
<br>
Anyone know how to make this change? I found something on
drupal.org saying you can do it with CSS but I wonder if
that’s the best or only way? <br>
<a moz-do-not-send="true"
href="http://drupal.org/node/113399#comment-193937">http://drupal.org/node/113399#comment-193937</a><br>
<br>
Thanks,<br>
<br>
<br>
-- <br>
Gary Broyhill<br>
Webmaster<br>
Lenoir-Rhyne University<br>
<a class="moz-txt-link-abbreviated" href="http://www.lr.edu">www.lr.edu</a><br>
<a class="moz-txt-link-abbreviated" href="mailto:gary.broyhill@lr.edu">gary.broyhill@lr.edu</a><br>
(828)328-7379<br>
</span></font></font>
</blockquote>
</body>
</html>