Home >Web Front-end >HTML Tutorial >Solving blog css settings_html/css_WEB-ITnose

Solving blog css settings_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:09:46810browse

http://www.07q.net/2011/11/11/new-firefox/

The article content and sidebar use the same background image, because sometimes the article is short and the sidebar is too long. Therefore, the sidebar will grow a lot, and the background of the sidebar does not match the background of the page. Does anyone have a solution? Please be more detailed. Thank you.


Reply to discussion (solution)

Who asked you to put so many things in the sidebar?
Or you can do this, hide the less important things below the sidebar first, and after the page loads, judge the length of the middle content, and display more sidebars if the content is long.

Please give me the code, thank you. . . Who asked you to put so many things in the sidebar?
Or you can do this. The less important things below the sidebar are hidden first. After the page is loaded, the length of the middle content is judged. If the content is long, more sidebars are displayed.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn