Solved

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

Posted on 2011-09-08
5
2,282 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
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 style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

717 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