Two CSS styles with a passion for the base

Source: Internet
Author: User

Custom blog style, the code snippet Line-height inherited style post Line-height, the interval is too large, decided to reduce the point, CSS has played for several years, it is very easy to feel this thing. Then, it was tragic for a long time, originally custom style sheet for

. Headermaintitle{font-family:"XXFarEastFont-Xingkai", Verdana,arial,helvetica,sans-serif;font-size:50px;}. Headerdis{font-family:"XXFarEastFont-Xingkai", Verdana,arial,helvetica,sans-serif;font-size:20px;text-align:Center;}Body{font-size:12px;}. Mysearch{Display:None;}. Postcon{font-size:12px; }. C_b_p_desc{Line-height:24px;}. Day{Margin-bottom:0;}. Day Center{Display:None;}. Postseparator{Display:None;}#left_border{Height:Auto;}#footer{Display:Block;text-align:Center;padding:30px 0px 15px 0px; } . Post { font-size:12px;  Line-height:26px;}#cnblogs_post_body P{margin:0;padding:0;}#cnblogs_post_body a{Color:Blue;}#author_profile{Display:None;}Div.commentform textarea{width:100%;}. Commentbox_title{width:100%;}#commentbox_opt{text-align: Right;}#ad_under_post_holder{Display:None;}. C_ad_block{Line-height:20px;}#site_nav_under, #blog_news_kb{Display:None;}. Feedbackitem{Border-bottom:1px dashed #ccc;}. Feedbackcon{background:None;}. Posttitle{padding:22px 15px 10px 28px;}. Post pre {line-height :16px;}

I think it is normal, the last three lines rewrite the pre row height, it should be smooth. But... Actually did not work, puzzled for a long time, has been unable to solve.

Just after watching TV, bored, decided to continue to toss, but, dead or alive or not, the review element, the Line-height property can see is the style post, I have rewritten the post style, but then to rewrite the post of the pre row height why not????

Then, I guess since it is the post style, I follow the emphasis on writing the pre-line high, it should be a little problem ... Then moved to post style, refresh ... Hey???? All right!!!!

Just move the last style of the pre-line to the style post, how can it work again?????

No solution .... Really good friends ah, separate still not work!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.