D
D
DeniSidorenko2018-12-28 18:19:58
JavaScript
DeniSidorenko, 2018-12-28 18:19:58

How can I make the text not wrap?

Good afternoon, there is a simple test block. Which has a width of 0 but when the class is clicked, it has a width of 40%. That is, it seems like a smooth appearance of the block and for the width (the block is attached to the left side) And everything would be fine, but when you need to hide the block, you can see that the test, and for the fact that there is not enough space, starts to shrink. Is there any way to prevent this

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
display: block, 2016-03-14
@qork

The problem is in jquery version. stackoverflow.com/questions/21926225/fancybox-type...

M
Maxim Timofeev, 2018-12-28
@DeniSidorenko

How can I make the text not wrap?

Develop intolerance to him
And now, on the case:
there <nobr>iswhite-space: nowrap;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question