close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Positioning of Form with CSS Form Builder

Thread began 7/01/2010 2:58 pm by Nature Photographer | Last modified 7/20/2010 8:26 pm by neilo | 1748 views | 7 replies |

Nature Photographer

Positioning of Form with CSS Form Builder

Hi,

I have a left hand column on my page and when I try to place the form in the main content area, the form positions itself in line with the bottom of the left hand column, about half way down the page. I have tried adjusting the alignment but it doesn't move to the top of the content area.

Any insight would be appreciated!

Sign in to reply to this post

neilo

Hi there,

It would be easier to diagnose the problem if you could post a link to the form, but in the meantime you could try selecting your form (in Dreamweaver 'design view') and in the CSS styles panel, click 'Add Property', and add the property, 'float:left'.

If this doesn't do it, then post a link to where we can see the form.

Sign in to reply to this post

twitchr377598

I had the same issue. Getting rid of the clear: both; property in

form.NewFromBlank_Default fieldset.NewFromBlank_Default {
clear:both; <--delete this
}

fixed it for me. You could give that a try.

Sign in to reply to this post

Nature Photographer

Thanks!!!

I tried the suggestion from Neilo...Unfortunitely didn't work in my case, it just spread everything about the page.

Twitchr377598...could you explain the steps you are suggesting...I'm a bit "thick" sometimes when it comes to these things..I'm not a web techie by any means!!! :-)

Thanks everyone for your help to date

Sign in to reply to this post

Jason ByrnesWebAssist

If you could send a link to your page so i can examine the code, I can tell exactly what needs to be changed.

Sign in to reply to this post

Nature Photographer

Test page Link

Hi Jason,

Here is the link to a live test page, the page is incomplete as I was trying to work out the form's placement.

formtest.php

Cheers

James

Sign in to reply to this post

Jason ByrnesWebAssist

in the siteassistpro_css/content.css file, edit the following code:

#outerWrapper #contentWrapper #content {
margin: 0 0 0 220px; /* 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) */
background-image: url(../images/body/bgbody.jpg);
}



to:

#outerWrapper #contentWrapper #content {
margin: 0 0 0 220px; /* 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) */
background-image: url(../images/body/bgbody.jpg);
overflow: hidden;
}
Sign in to reply to this post

neilo

Or doing the float:left that was suggested three weeks ago:

In your FD_JDP_ContactForm.css file:


form.JDP_ContactForm {
background-image:url("FD_JDP_ContactForm/bgbody.jpg");
background-repeat:repeat;
color:#557F00;
font-family:Georgia,Times New Roman,Times,serif;
font-size:10pt;
font-weight:normal;
margin:0 0 0 50px;
text-transform:capitalize;
width:855px;
float:left;
}
Also adding a left margin of 50px (as shown in blue in the same rule above) would center your form in the content area.

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...