input fields in a form each with a different width

input fields in a form each with a different width

Friday 27 June 2003 1:47:01 am - 2 replies

Author Message

Paul Forsyth

Friday 27 June 2003 3:29:51 am

Just make some css classes like the following:

For example:

<td class="newbox1">
{attribute_edit_gui attribute=$node.data_map.information}
</td>

<td class="newbox2">
{attribute_edit_gui attribute=$node.data_map.otherinformation}
</td>

In your css file have:

.newbox1 input
{
width:100px;
}

.newbox2 input
{
width:200px;
}

If you are displaying a text-field then use something like:

.newbox1 textarea, .newbox2 textarea
{
width:500px;
}

M Farhan

Friday 27 June 2003 5:23:45 am

Thanks a lot Paul.

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.