Sharepoint field width

I am using SharePoint Design for the first time trying to learn and am having problems with a custom form.
 
It seems like it is impossible to adjust field sizes.

This is an edit forma nd i broght in fields and moved them around into a more tabular form but they will not size down so the table is really wide and unuasable.

Simple input fields and date fields are way too wide.  I tried the style .ms-long{width:100px;}

but it changed every field???
Matt PinkstonAsked:
Who is Participating?
 
jcroexbdConnect With a Mentor Commented:
You could try CSS or inline style.

For example: Document upload box id is ctl00_PlaceHolderMain_ctl01_ctl02_InputFile

So you could update the inline style on the aspx page, or update the .css file for your site theme...



#ctl00_PlaceHolderMain_ctl01_ctl02_InputFile {

width: 50px;
}

Open in new window

0
 
jcroexbdCommented:
when i customize forms with sharepoint designer, i don't use the Insert > SharePoint Control > Custom List Form

I create a new page in the list, and use the data view, select the list needed, show the data, select the fields I want filled in and "Insert Selected Fields as New Item Form" to a table i manually built; that way i can edit freely.

I don't know if this is a best practice, but it hasn't failed me yet.
0
 
Matt PinkstonAuthor Commented:
I deleted the fields and added them as listform input fields and I can not change their size to save my live This editor seems very non-userfirendly
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
Matt PinkstonAuthor Commented:
Even tried this

<td style="width: 118px" class="stylex">
<SharePoint:FormField runat="server" id="ff31{$Pos}" controlmode="Edit" fieldname="Active_x0020_Deals_x0020_Name_x0" __designer:bind="{ddwrt:DataBind('u',concat('ff31',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Active_x0020_Deals_x0020_Name_x0')}" />


With
}
.stylex {
    width: 75px;       
}

NoGood

GRRRRR Help!!!!
0
 
Matt PinkstonAuthor Commented:
is there one per input item or will that affect all?
0
 
Matt PinkstonAuthor Commented:
his does not really work, I need to size down fields
0
All Courses

From novice to tech pro — start learning today.