V
V
vasIvas2015-01-31 20:58:38
JavaScript
vasIvas, 2015-01-31 20:58:38

How to get rid of scrolls?

The chances that the same person will view the topic twice are very small,
so I did not update the previous one.
Here is a clear example of "non-residential scrolls" .
How to competently get rid of them without introducing elusive values ​​into the code, such as - here a little bit and there more?
UPD:
Do browsers have some kind of unspoken indent from the origin?
If so, how far does it retreat?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
SagePtr, 2015-01-31
@vasIvas

Set the canvas element to display: block

S
Sergey Ivanov, 2015-01-31
@Writerim

set width and height to 100% ?

A
Alexey Rudkovsky, 2015-01-31
@AlexRudkowskij

In css to prescribe overflow:hiddenfor body?
But then part of the canvas will not be visible

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question