List items run outside of list and div area

前端 未结 4 2362
旧时难觅i
旧时难觅i 2021-02-19 17:11

I\'m having an issue with a menu un-ordered list. Whereby the list items are over running the

    and
    boundaries and only starting t
4条回答
  •  Happy的楠姐
    2021-02-19 17:51

    To fix the Unordered List from pouring out of the DIV, I would suggest going into the CSS and adding a min-width.

    so, for example if your parent has a width:600px give the , within that div, a class and set a min-width:600px and this will keep the

  • items from stacking on top of one another and spilling outside the parent . worked for me.

提交回复
热议问题