close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

CSS size styling

Thread began 7/30/2011 7:39 am by genelee2330761 | Last modified 8/02/2011 8:35 am by Jason Byrnes | 2070 views | 5 replies |

genelee2330761

CSS size styling

I put this form together using CSS Form Builder and the form works great but even though I have used the Sharp template to style it and it is a single column of stacked fields there are still elements of the form that extend to the right far enough to trigger a horizontal scrollbar at the bottom of the container.

contactUs.php

Can you tell me where I need to go in the CSS for this form to pull these in so I can get rid of that scrollbar?

Sign in to reply to this post

Jason ByrnesWebAssist

you only want to remove the bottom scrollbar?

if so, add overflow: hidden; to the .formBox style in the formStyles.css file:



.formBox {
background-color: #dcdcdc;
height: auto;
width: 600px;
margin-left: 25px;
position: relative;
bottom: 95px;
float: left;
font-family: Verdana, Arial, Helvetica, sans-serif;
padding: 8px;
overflow: hidden;
}

Sign in to reply to this post

genelee2330761

I don't think this will work because the page design requires overflow:auto for the vertical scrollbar to be present with content the extends below the page bottom. I'm looking for a way to pull the size of the form down so it doesn't extend past the actual visably displayed size of the form on the page.

Sign in to reply to this post

Jason ByrnesWebAssist

have you actually tried it?


it will leave the vertical scroll bar but remove the horizontal one if you try it out.

Sign in to reply to this post

genelee2330761

Hi Jason,

Yeah I tried that but the vertical scrollbar disappears too when I set it to hidden.

It looks like the validation elements in the form extend the size of the form to almost twice the visable parts that are displayed. So, I'm trying to find a way to pull those in so it doesn't trigger that horizontal scrollbar.

Sign in to reply to this post

Jason ByrnesWebAssist

then try adding the overflow: hidden to the form.Sharp_Default element in the fd_sharp_default.css file.


you already have overflow:auto applied to the parent element, which will trigger the vertical scroll bars, adding overflow: hidden to a child element will hide the horizontal scroll bar.

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