The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] Should everything have a width
Does every element contain or should have a width ?
h1 and p in order to make them flexible or responsive?
I have some elements that do not have widths that fit nicely on my static page. Should I give them a width to make them flexible or will it flow well with everything else?
Block level elements (like <div> or <p>) have a width of 100% naturally applied to them – no need to assign them a width!