Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

html margin issue - "Shaking" Website

Im working on a Website and everything is ok, except my webside is "shaking". (I'm using chrome) The margin of my main Container is changing on some sides and i have no idea why. They have the same html code, it must have something to do with the content in the main div-container

My Website: www.anitalernt.de

http://www.anitalernt.de/about-us.html is a bit more to the left and http://www.anitalernt.de/index.html after getting a task (just click some buttons) also.

Has someone a idea?

like image 816
Bene von Bre Avatar asked Sep 16 '14 11:09

Bene von Bre


2 Answers

Always display the scrollbar

html {
  overflow-y: scroll; 
}

See:

Always show browser scrollbar to prevent page jumping

How to always show the vertical scrollbar in a browser?

like image 158
Kabb5 Avatar answered Nov 06 '22 04:11

Kabb5


You could add

html{ overflow-y: scroll;}

to your css.

Places a permanent (but sometimes empty) scroll bar on the window

like image 34
andrew Avatar answered Nov 06 '22 03:11

andrew