Solved

Sharepoint 2010 how to position the web part tool pane when using a fixed width

Posted on 2011-09-08
5
2,217 Views
Last Modified: 2012-05-12
When using a fixed width layout for my sharepoint 2010 master page, I notice the web part tool pane is hidden. How can I control/position it using CSS. I could not work out the class.
Any help would be appreciated
0
Comment
Question by:pancho15
  • 4
5 Comments
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst earned 500 total points
ID: 36506288
Hello,

using F12 on IE8 it's easy to identify the elements and their CSS.

See the elements outlined in red in the following screenshots and their respective lines of code and CSS classes:
 Container
<td id="MSOTlPn_MainTD" vAlign="top" style="width: 225px;">

Open in new window

Inherits the Body style from corev4.css

 inner container  
<table class="ms-ToolPaneOuter" id="MSOTlPn_Tbl" style="width: 225px; height: auto;" border="0" cellSpacing="0" cellPadding="0">

Open in new window

Inherits BODY from corev4.css
.ms-ToolPaneOuter from WPEditModev4.css

Does that help?

cheers, teylyn
0
 

Author Comment

by:pancho15
ID: 36506657
Thanks , will give that a try
0
 

Author Comment

by:pancho15
ID: 36507627
that worked great although I have the following issue now
 Wont scroll
I have positioned the tool pane to the left
      position:fixed !important;
      top:160px !important;
      left:10px !important;      
      overflow:auto;
I tried with position: relative - but it places the tool pane inside my fixed width. I need it either to the left or right of the fixed width.(In the gray area).  

The issue I have with position: fixed is that when I expand the tool pane it does not push the page down so I can view all options.

ANy help would be great my css skills are very basic
0
 

Author Comment

by:pancho15
ID: 36507780
I was meant to say I tried it with position: absolute - but it places the tool pane inside my fixed width. although it worked when expanding the
0
 

Author Closing Comment

by:pancho15
ID: 36716815
worked a treat thanks
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question