Grid layout is NOT fully supported in Edge browser when number of tags are dynamic in <dl>

Neha Ahuja 1 Reputation point
2021-03-27T03:58:26.22+00:00

When we have the below code where number of <dt> and <dd> are not known prior and depending on the API response. The grid layout doesn't work in Edge browser causing the overlapping issue. It only works when we use -md-grid-row: 1, -md-grid-row: 2, -md-grid-row: 3, and so on....

This is an issue as users may not how many <dt> and <dd> tags will be present in <dl>. Also, they may not be using any helper css libraries for that and won't prefer to manipulate css using JavaScript code.

Note: This is very well handled in all other browsers.

<dl>
<dt></dt>
<dd></dd>
....
....
....
</dl>

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,108 questions
{count} votes