Html Width/Height ignored padding/border

1 posts, 0 answers
  1. Quan
    Quan avatar
    1 posts
    Member since:
    Jun 2017

    Posted 22 Aug Link to this post

    I create a panel, set width/height as 100px / 50px and padding as 10px. When render to html, width/height of the div tag just only 80px x 30px, padding still be 10px. If I remove padding, width/height rendered will be 100px / 50px.

    How can I have width/height is 100px / 50px even if I have padding?

Back to Top