close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Form

Thread began 11/12/2009 8:59 am by A Sound Design | Last modified 11/13/2009 12:11 pm by Jason Byrnes | 1714 views | 6 replies |

A Sound Design

Form

I have designed a form that works well but does not position correctly on the page. Rather than displaying at the top of the page it sits at the bottom with a huge gap. Please see the attachment.

The site is not yet online so I can't give a URL yet. The site was designed using the CSS Sculptor extension. I am using version 1.01 of the Form Builder extension.

Sign in to reply to this post

neilo

Hi Jeremy,

Without seeing a working example of the page and being to follow through to the stylesheet, it will be difficult to pin-point the exact css problem. (Hopefully someone will disagree, and provide a solution).

What I would suggest is saving your page to yourpage_bak.php, then cutting (just) the formbuilder code from yourpage.php.

Then check that the pre-existing divs are properly styled to accept full-width content without displacing itself. It may be that you need to adjust the div styles' float and clear, or it may be that you need to reduce the width of your form. Or it may be that the exact placement of the form is the problem.

Perhaps you could zip your pages and stylesheet and upload it here so that someone can have a look?

Sign in to reply to this post

Jason ByrnesWebAssist

Most likely, the width of the form exceeds the width of the main content area.

As neilo said in his post, without being able to see the problem in a web browser it is impossible to say exactly what css needs to be changed. I would start by decreasing the width of the form though.

Sign in to reply to this post

A Sound Design

Ok. I've put it online in a test area at contact.php

Sign in to reply to this post

Jason ByrnesWebAssist

in the screen.css file, add overflow: hidden; to the #outerWrapper #contentWrapper #content selector:


#outerWrapper #contentWrapper #content {
margin: 0 0 0 176px; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
padding: 10px 10px 10px 10px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
overflow: hidden;
}

Sign in to reply to this post

A Sound Design

Thanks Jason. That works. What exactly does it do?

The only problem with it is that now when I try to re-edit the form I cannot do it unless I go to Code View. If I take out the overflow: hidden; code I can re-edit the form using Form Builder. Strange. Ok, so I can comment it out but and un-comment it when finished but it's a bit of a pain. Actually, it affects all the code on the page (see attached screenshot).

Sign in to reply to this post

Jason ByrnesWebAssist

It forces the form to the width of the content div.


The problem is that the form is wider than the content div. So the it is being pushed down the page to a place where there is enough room to display it.

By adding the overflow: hidden property it tells the browser to just not show the part of the form that overflows the boundary of the content div rather than push things down the page.

You either need to include the overflow: hidden property, or change the width of the form so it will fit within the content div.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...