Treehouse: Grow your CSS skills. Land your dream job.

Allow CEWP scroll with screen.

  • # April 3, 2013 at 12:19 pm

    I am trying to figure out how to do something on sharepoint and curious if you have anything related.

    I have a web page with a main body column and then a side column to the right. I want the main body to act normal and scroll up and down while the content editor web part on the right will move with you as you scroll down on the screen. I have been searching all over the web and I can’t find this. But it seems like it would be some simple css that would unfix this to a set position. Please help!

    # April 3, 2013 at 12:27 pm

    @brown2539, the short answer is `position: fixed;` on the sidebar, if I’m understanding you correctly.

    # April 3, 2013 at 3:57 pm

    My code is accurate. It comes down to an issue with IE8 and the position:fixed. Reading discussion boards on this, I’m hearing you need to set your document types and things like that, but I am not that savvy.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.