There are many ways to fix the side, and today we will introduce a very simple approach.
The entire HTML document is just 23 lines of code.
There's a lot of practice on the Internet, but it's all too complicated. A whole bunch of code. And some of the plugins that are very well used by some jquery.
The sidebar approach is similar to the top and footer.
Master one of them, the others are very easy to achieve. Common examples are: Sina Weibo menu bar, Sina sports right side QR code scanning and other functions are this implementation.
The practice of fixing specific parts without scrolling with the scroll bar, see the following code:
<! DOCTYPE html>?--><body><div id= "left" ></div><div class= "content" ></div ></body>
Performance effects such as the following:
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center "/> Welcome your attention to my blog. If in doubt, please add QQ Group: 454796847 study together!?
The practice of fixing the sidebar on a webpage