html - How do I center something with CSS so that it is centered relative to the scroll bar? -


i have centered div on page group project , while div centered, websites contents centered scroll bar in mind. mean web page contents centered width of screen measured without scroll bars width. if monitor 100px wide, gets read 100-(scroll bar width) px wide. unfortunately, has caused fixed position div scroll bars width off center rest of site , looks pretty funky. way fix that? can't use jquery, can potentially use little bit of js.

here's link site can see i'm talking about. http://51713941.nhd.weebly.com/index.html

lets see code.

this can sorted out css. margin:auto

you should use box model concept in css style , place content on site

again, question seems rather vague.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -