Is it possible to set margin in percents ?
How can I set only text margin without moving div where it's in?
I got this.
But is there something other ?
I mean 2 answer of course
what else would you like to know? :)
Another way of doing point 2.
that is the best answer you are going to find, accurate and simple, code compliant, current practice, proper use of styling.
as a visual aid
draw some boxes, boxes represent html block elements
you can create/move/edit a box inside another box easily, change its border, change its margins, change its content, if you want to change part in a box, you draw another box around the part and change that