PeopleEditor border
H,i have Peopleeditor control as a custom field, when i am trying to look that control its not showing right side border properly is it need to apply any style sheet for that ?Can any body give me some code that style sheet.thankskirankiran
November 17th, 2008 11:55am
Hi,how come people editor is working everything is fine, but my problem is why its not showing right border. Need to apply any stylesheet for that? i usedmycontrol as a custom field.mycode:<SharePoint:PeopleEditor runat="server" ID="editor1" AllowEmpty="false" SelectionSet="User,SPGroup" MultiSelect="false" BorderWidth="0" Width="190px" PlaceButtonsUnderEntityEditor="false" AutoPostBack="true" Rows="1" />Thankskirankiran
Free Windows Admin Tool Kit Click here and download it now
November 18th, 2008 6:49am
Hi,
Bu default, the PeopleEditor control apply a CSS style named ms-inputuserfield, you can overwrite the CSS style in your customized page using SharePoint Designer, the code looks like:
<styletype="text/css">
.ms-inputuserfield{font-size:8pt;font-family:Verdana,sans-serif;border:1pxsolid#a5a5a5;}
div.ms-inputuserfielda{color:#000000;text-decoration:none;font-weight:normal;font-style:normal;}
div.ms-inputuserfield{padding-left:1px;padding-top:2px;}
</style>
Hope it helps.Xue-Mei Chang
November 20th, 2008 9:52am
Thanks for your reply but its not working..its looks like its crossing the right side border . like checkName and Browser buttons inside. so its not exactly diffrenciate peopleeditor textbox and buttons.mycode:<SharePoint:PeopleEditor runat="server" ID="editor1" AllowEmpty="false" SelectionSet="User,SPGroup" MultiSelect="false" BorderWidth="0" CssClass="ms-inputuserfield" Width="190px" PlaceButtonsUnderEntityEditor="false" AutoPostBack="true" Rows="1" />actually i want to show that image(peopleditor in my page) here i dont know how to paste my image?i hope you understand.Thanks
kiran
Free Windows Admin Tool Kit Click here and download it now
November 20th, 2008 11:18am
Hi Kiran,Even I had this issue and resolved this by commenting the doc type in the master page.<!--<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">-->Hope this helps..CheersRaghuMCSD
January 13th, 2009 7:43pm
I resolved this with:
.ms-inputuserfield {position : relative }
Free Windows Admin Tool Kit Click here and download it now
March 11th, 2011 2:47pm