This is a migrated thread and some comments may be shown as answers.

Html Width/Height ignored padding/border

0 Answers 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Quan
Top achievements
Rank 1
Quan asked on 23 Aug 2018, 04:33 AM

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?

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Quan
Top achievements
Rank 1
Share this question
or