Facing problem with fixed width

Facing problem with fixed width
0

#1

How to make div elements wjich are present inside my

  • fit to same width ?

  • #2

    That is a very vague question. Can you re-phrase so we know what you’re asking?


    #3

    make all div elements inside

  • elements give same width?

  • #4

    I have put div elements in li (list) in a loop.I want all those div elemets to be of same width?


    #5

    Are you familiar with CSS? You can set the width of elements with CSS.
    Example:

    li {
      width: 200px;
    }
    

    Are we looking at sentences of several words? Can you provide a code sample?


    #6


    #7

    If I understand this correctly, if you do a body width 100%. The child will inherit 100% width as well.

    My div don’t often need 100% width, it just does it default.