E
E
emilkarussia2015-01-05 21:29:05
css
emilkarussia, 2015-01-05 21:29:05

Is there block code highlighting, but is there inline code highlighting?

Well, or is there an opposite tag <br>?
Or with the help of what css when you can write so that everything goes on one line?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Rsa97, 2015-01-05
@Rsa97

white-space: nowrap;

R
Roger, 2015-01-05
@mrquake

There is a display property that can turn a block element into an inline element and vice versa

p {
      display: inline; // строчный
}
p {
      display: block; // блочный
}
p {
      display: inline-block; // блочно-строчный
}

T
tennalian, 2015-01-05
@tennalian

white-space: nowrap ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question