I have centered div for my side. Now I want to calculate left side blank space. How to do it by jquery.
<main id="page_main" role="main">
<div class="content">
</div>
</main>
#page_main
{
width:100%;
}
.content
{
width:960px;
margin:0px auto;
}
Now I want to calculate the screen's left side blank space. Can you help me how to do it?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.