So, I'm making a website.
The website is centered, but when a page with a scrollbar comes up(In firefox, that is), the whole page shifts a scrollbar's width to the left. Just doesn't make a smooth transition from page to page. Sadly enough, it works fine in IE, which always has a scrollbar.
--
I tried this out(googled it and pasted it =P):
overflow-y: scroll;
overflow: -moz-scrollbars-vertical;
But it added a 2nd scrollbar to IE and I got the following errors from W3C:
# Line: 6 Context : body
Property overflow-y doesn't exist : scroll
--
# Line: 7 Context : body
Invalid number : overflow Parse Error - -moz-scrollbars-vertical
Can anyone help me out?
The website is centered, but when a page with a scrollbar comes up(In firefox, that is), the whole page shifts a scrollbar's width to the left. Just doesn't make a smooth transition from page to page. Sadly enough, it works fine in IE, which always has a scrollbar.
--
I tried this out(googled it and pasted it =P):
overflow-y: scroll;
overflow: -moz-scrollbars-vertical;
But it added a 2nd scrollbar to IE and I got the following errors from W3C:
# Line: 6 Context : body
Property overflow-y doesn't exist : scroll
--
# Line: 7 Context : body
Invalid number : overflow Parse Error - -moz-scrollbars-vertical
Can anyone help me out?