Immediately show you what I get and what I need to get!
The essence of the question: How to make the string elements (a, span) respond normally to padding and not carry it with you to the next line .. in fact, as shown in the What do I want to get ?
Immediately show you what I get and what I need to get!
The essence of the question: How to make the string elements (a, span) respond normally to padding and not carry it with you to the next line .. in fact, as shown in the What do I want to get ?
For line elements that need to install padding , write in the CSS file display: inline-block;
For example:
span { display: inline-block; padding: 10px; }
Here in more detail.
UPD: http://jsfiddle.net/Alex83/QVbS7/
Will this option work?
Source: https://ru.stackoverflow.com/questions/211890/
All Articles