In SharePoint 2013 after migration from SharePoint 2010, the launch form dialogue box is selected yes in advanced list settings.
So the Edit form for each item opens as a form and there is an attachment icon on this edit form. So when the attachment is clicked an attachment form is opened and displayed as shown in image below.
The classes, id's and pagetype are same for edit form and attachment form. It is displayed in the same way in all the Attachment forms in the all the Web Applications.
In the Document Libraries, all the Edit, New and View forms are also displayed in the same manner as shown in the pictures. In the Lists,the Edit New and View forms are shown properly but the Attachment form is not proper.
Can anyone suggest me a feasible and acceptable changes in the css or in the code through Visual Studio 2013, so that we see the forms in the proper alignment.
We do not use SharePoint designer. The site is a customized one developed by using Visual Studio.
Thanks in advance