Forums

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

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #161895
    claire2013
    Participant

    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?

    #161901
    TheDoc
    Member

    Block level elements (like <div> or <p>) have a width of 100% naturally applied to them – no need to assign them a width!

    #162003
    claire2013
    Participant

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.