Forums / Setup & design / Mail form, width.
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
Wednesday 23 April 2003 3:40:43 am
Thanks a lot, this worked fine!