My company has hired a development firm to create some intricate software, and it seems they are using the .NET framework for coding. While examining the structure of the HTML, I noticed an abundance of in-line CSS with numerous divs formatted like this:
<div style="position: absolute; top:177px; left:229px; width: 710px; height: 306px;" class="EventLabel Event_bg_red"></div>
There are also elements with very long ids like
id="ctl00_ctl00_ctl00_MainContent_MainContent_BodyContent_grid_DXDataRow0"
I am curious if these lengthy strings and elaborate style declarations could be affecting the performance of the site. I have been experiencing some lagging issues and I am uncertain whether they are caused by scripts or complex HTML. Could it be that .NET is generating this HTML dynamically, resulting in longer processing times due to all the position:absolute
calculations? Or perhaps the browser rendering of the webpage is unaffected by these text strings?