contact form width

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
johnl
Forum Members
Forum Members
Posts: 34
Joined: Thu May 03, 2007 5:58 am

contact form width

Post by johnl »

Hi

I have installed the standard contact form and it looks and works well in firefox but in IE  the whole form is very narrow.

Reading through the forum, I believe I have to change something in function.contact_form.php ?

What do I change to keep the width right in IE?

Thanks
johnl
Forum Members
Forum Members
Posts: 34
Joined: Thu May 03, 2007 5:58 am

Re: contact form width

Post by johnl »

Anyone got any idea?

Thanks
designer0352
Forum Members
Forum Members
Posts: 14
Joined: Mon Dec 04, 2006 1:45 am

Re: contact form width

Post by designer0352 »

Look for this line:

$formStyle = 'style="width:520px; important; font-weight: bold;"'; // form

in the file function.contact_form.php in the plugin folder. The original width was expressed at 30em. I settled for a compromise by specifying the width in pixels. I just don't have time to try and code hacks for IE. It's enough to drive you to drink.

Mitch
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: contact form width

Post by RonnyK »

What about CSS-styling

Code: Select all

.formbuilderform textarea {
width: 390px;
height: 15em;
}
to have it styled specifically for FormBuilder, OR

Code: Select all

textarea {
width: 390px;
height: 15em;
}
to have all textareas smaller...

Ronny
Post Reply

Return to “Layout and Design (CSS & HTML)”