SharePoint - Changing White Space between Web Parts
Asked By Jason Lopez
20-Nov-09 02:09 PM
I am working on a project where we have too much white space between web
parts. I am learning SharePoint as I go and cannot seem to find where I
would go to get rid of the extra white space.
Can someone point me in the right direction on this?
Jason Lopez
Mark Blake replied to Jason Lopez
Jason,
Did you resolve the white space issue? I had the same problem.
I used Designer to select the web part zone and changed the padding to 0px in the code. You can change the amount of space to whatever pixel range you want. Also make sure you change all the related master pages.
I hope that helps. It worked for me.
Mark
KP Murphy replied to Mark Blake
I'm working in a secured system where Sharepoint designer is not allowed for security reasons that I cannot change. Has anyone been able to tackle the white space issue w/o setting the padding to zero pixels? Any help is greatly appreciated.
Thank you.
Hit counter SharePoint Hello, I added a hit counter in a site default page in MOSS 2007. It Digits = "5" U-Custom = "" - -> I am using a web component that is by default with SharePoint Designer. In that site, I have a page library and I want a hit counter but not the image (http: / / myserver / mysite / _vti_bin / owssvr.dll?) Can anybody help me please? SharePoint Discussions SharePoint Designer 2007 (1) SharePoint (1) MOSS 2007 (1) Hitcounter (1) Directory (1) Myserver (1) Beleive (1) Guests (1) Is Thomsen Integrated Solutions I don't know really. I use the hit counter available in SharePoint Designer 2007 that has its own image. . . How can I know that? Why is that as the background of the page, or an image that has a width of 1 pixel and a height of 1 pixel. For more information about how to create a custom image, see the "References" section. 2
How do I replace the "! NEW" image?? SharePoint I cannot right-click on it to determine its name, properties, etc. I'd like to display a nicer, less jaggy image, using the newer pixel fonts. Thank you, Tom SharePoint Design Discussions Directory (1) Iisreset (1) Nicer (1 Pixel (1) Its under the localized images folder: / _layouts / 1033 / images / new.gif I forgot about properties, etc. I'd like to display a nicer, less jaggy image, using the newer pixel fonts. Thank you,
Setting width to 800 pixels wide instead of 100% SharePoint Hey guys, I am playing with the example default.master files from MS and I am thinking it would be nice to center the page and set an 800 pixel width on the table that encompasses the site. For blogging purposes and using Sharepoint as a person website it would look cleaner. Has anyone tried this with any success user interface. Anyone have any links to screen shots, etc.? Anyone seen a good resource? SharePoint Design Discussions SPS (1) Sharepoint (1) Heather (1) Default.master (1) Viewareaframe (1) Bodyareaframe (1) Encompasses (1) Overhauls (1) I 800px and margin: 0 auto (if you'd like it centered). As far as finding sharepoint sites that have been highly customized. . . . the best ones are the ones you can't identify as sharepoint sites. :-) I believe that this one does: http: / / www.aatorque.co.nz / Pages / default.aspx is off topic, I have 2 questions: 1. How did you know it was a sharepoint site? 2. Why would they use Sharepoint since it doesn't appear to use SPS
DataGrid EditCommandColumn event handlers SharePoint I am developing a web part that is supposed to query an excel spreadsheet and OleDb; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.SharePoint; using System.Drawing; namespace sop.query { public class query : Microsoft.SharePoint.WebPartPages.WebPart { DataGrid DataGrid1 = new DataGrid(); DataView data; BoundColumn col; EditCommandColumn btn_edit = new EditCommandColumn(); string QC \ names.xls"; protected override void CreateChildControls() { base.CreateChildControls(); / / Set DataGrid properties DataGrid1.Width = Unit.Pixel(900); DataGrid1.ShowHeader = true; / / DataGrid1.AllowPaging = true; DataGrid1.AutoGenerateColumns = false; DataGrid1.SelectedItemStyle.BackColor = Color.Yellow RunWithElevatedPrivileges(delegate() { load_data(); }); } void DataGrid1_UpdateCommand(object source, DataGridCommandEventArgs e) { DataGrid1.EditItemIndex = -1; SPSecurity.RunWithElevatedPrivileges(delegate() { SharePoint Development Discussions SPSecurity.RunWithElevatedPrivileges (1) Microsoft.SharePoint.WebPartPages.WebPart (1) DataGrid1.SelectedItemStyle.BackColor (1) System.Web.UI.WebControls (1) DataGrid1.HeaderStyle.BackColor