Mail form, width.

Author Message

Bjørn Kaarstein

Wednesday 16 April 2003 4:09:24 am

Hi.

When including the necessary fields from my mailform, the width displayed is way to huge.

{attribute_view_gui attribute=$node.data_map.email} shows my field.

I've tried to edit the class and set maxlenght, but no success.
Any idea of how I can set the width of this text line?

Regards Bjørn.

Paulo Almeida

Wednesday 16 April 2003 4:46:36 am

Try change your CSS file in:

input.box, textarea.box
{
width: 468px;
}

input.halfbox, textarea.halfbox
{
width: 230px;
}

PACPI.COM Internet Consulting
http://pacpi.com

Paul Forsyth

Wednesday 16 April 2003 5:04:57 am

We include the ez core.css with our own css, and occasionally find it useful to override the defaults in the core file. For example:

your-file.tpl

<div class="smaller-width">
<input something>
</div>

my.css:

.smaller-width input {
width: 200px;
}

Paul

Bjørn Kaarstein

Wednesday 23 April 2003 3:40:43 am

Thanks a lot, this worked fine!

Regards Bjørn.

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