?
Solved

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

Posted on 2011-09-08
5
Medium Priority
?
2,347 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 (Microsoft MVP / EE MVE) earned 2000 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

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Question has a verified solution.

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

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
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…
Suggested Courses
Course of the Month14 days, 22 hours left to enroll

839 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