CSS does not work. how can this problem be solved?

Source: Internet
Author: User
CSS does not work. some css does not work. is it related to php? Php part: PHPcodeif ($ auth = true) {echo & quot; & lt; tr & gt; & quot; echo & quot; & lt; tdclass = 'block _ link' id = 'block _ link' & gt; & l CSS does not work
Some css does not work. is it related to php?
Php section:
PHP code
  if($auth==true){    echo "";    echo "You have\$$credit";    echo "Start Order";    echo "View Order";    echo "Edit Profile";    echo "Change Password";    echo "Recharge My Account";    echo "Logout";    echo "";}

CSS section
CSS code
  . Block_link a {width: 120px; height: 50px; display: block; background-color: # f1f1f1; text-align: center; font-size: 10.5pt; text_decoration: none; // removing the link underline does not work. padding-top: 30px ;}. block_link a: link, block_link a: visited // here a: visited does not work either. {background-color: # f1f1f1; text_decoration: none; // removing the link underline does not work color: # 009EDD ;}. block_link a: hover {background-color: # 009EDD; text_decoration: none; // The color: # ffffff;} # block_link {background-color: # d34836; color: # ffffff; width: 120px ;}


What the hell is going on?

------ Solution --------------------
Text-decoration
Not _
------ Solution --------------------
Text-decoration: none;
What about you?
Text_decoration: none;

Do not commit all sins to php
To be honest, php is already under too much pressure.

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.