I utilized Bootstrap to design a list and used the dl-horizontal
class in the following way:
<dl class="dl-horizontal">
<dt>1</dt> <dd>deta1</dd>
<dt>1</dt> <dd>deta1</dd>
<dt>1</dt> <dd>deta1</dd>
<dt>1</dt> <dd>deta1</dd>
<dt>1</dt> <dd>deta1</dd>
<dt>1</dt> <dd>deta1</dd>
<dt>1</dt> <dd>deta1</dd>
<dt>1</dt> <dd>deta1</dd>
<dt>1</dt> <dd>deta1</dd>
</dl>
Initially, the list displays correctly on a large desktop. However, upon resizing the window and testing for responsive design, the dd
elements are shown below the corresponding <dt>
elements. The requirement is to display the dd
elements next to the dt
elements in all window sizes. How can this be rectified?