cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
How to expand Form Width?
March 20, 2008
5:07 pm

How do you expand the entire form width?  It is currently centered on my contact page, but it is too narrow and there's too much space on each side.

I tried updating:

.cform {
    margin:10px auto 0 auto;
    width: 410px;


…… to 510px and 610px, but this did nothing.  I'm a total newb to CSS. 



March 20, 2008
9:00 pm
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

Your URL is?

March 20, 2008
10:05 pm

I'm using WAMP server.. and running this on my laptop at work, so it's only accessible by other intranet users. 

March 20, 2008
11:07 pm
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

That makes is difficult to troubleshoot. Generally (above), you've done the right thing.

May 2, 2008
6:36 am

You need to modify these lines in the stylesheet:

.cform textarea,
.cform input {
.cform select {
width:275px; /* attempt to have equal length */
padding:2px 0;

I'm not a css genius either…you just gotta poke around to find it. But now you know just use the 'find' feature in your browser to drop down to that section in the stylesheet.

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
29 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3762

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5361

Posts: 18742

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)