Hi, i want to ask a question about something about my exercise.
I am currently on adding tables lesson on HTML/CSS Part 1.
I decided to make practises with the topics of previous lessons in order to check what i have learnt.
Below are the HTML codes:
<p class="para1">This is the exercise</p>
<p class="para2">How can i solve this problem?</p>
And below are the CSS codes for this HTML file:
The problem is about when i want to add a font-size property to .para2 element the background-image is slipping down but without font-size property the background-image is not slipping but the .para2 paragraph element seems so small to read. In order to solve this problem i thought that i should add a box-sizing property to div, also i thought perhaps the font-size increased the width and height properties of its container. Now i'm stuck with this problem. Hope you understand my problem. Thank you.