I am not sure what is the right way if I want to lower the button.
What is the better way?
- To use the padding/margins of the button
- To use the relative position and lowering with px
- To size the div height to have more space and In the display to set flex and space between-space around option
Using fixed width or height is in many cases not a good idea.
It’s a good idea only when you know that the box where you are applying the height and width will always remain the same width & height.
In this case it wont, because there is text, which will adjust itself on lower resolution.
So what you can do in this case to make the button lower is to use margin.
Margin Top in this case>
You are using margin when you want to make space outside the element, and padding when you want inside the element. So here you need margin.
Your answer is highly appreciated!
Keep up with good questions
Learning Divhunt will be great skill for you, not just because Divhunt, but because you learn HTML & CSS as well
Please watch this one if you haven’t already:
Finding out about new Divhunt videos is my favorite part of the day
I am excited about it!!
You are doing a super great job and on the way to being champions in this market.