Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

css content shifted down the page

Thread began 1/18/2012 12:03 pm by CraigR | Last modified 1/18/2012 1:08 pm by Jason Byrnes | 699 views | 3 replies |

CraigRBeta Tester

css content shifted down the page

I have a fixed 2 column layout (left sidebar & content divs), which seems ok with static content.

I created a page which uses an ajax table in the content div, but here, everything is shifted down to below the text in the sidebar.

If I reduce the sidebar text, the content shifts up accordingly.

Tried finding the problem with firebug, but can’t figure it out.

contact_list.php

Grateful for any advice

Sign in to reply to this post

Jason ByrnesWebAssist

in CSSSculptor/2ColumnFixedHeaderandFixedFooter_Culfordppa_css/screen.css, change:

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




to:

#outerWrapper #contentWrapper #content {
margin: 0 0 0 237px; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
padding: 13px 13px 13px 13px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
overflow: hidden;
}
Sign in to reply to this post

CraigRBeta Tester

thanks for the reply Jason

that kinda works, in that the table content is no longer moved down the page, but now the table width is reduced significantly

*update*

page displays fine in FF and IE9, only in chrome is the table width reduced

Sign in to reply to this post

Jason ByrnesWebAssist

the problem is that the table is wider than the content area.

you will either need to make the table narrower, or the content area wider.

making the content area wider would mean recreating the css layout and editing the width of 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...