Note the following when using the button background image:

Source: Internet
Author: User
The National Day is approaching, and these days are busy. The company's national day and Mid-Autumn Festival activities continue, and what we develop is really big. Busy ................................. when I was busy today, I still had such a problem that I didn't have a good lunch. Below
<Asp: button id = "button1" runat = "server" text = "button" style = "font-weight: bold; Background-image: URL (/webresources/images/v2/darkorange_bg_h24.jpg); "forecolor =" blue "/> This section Code It is already quite standard. When someone displays the picture in IE, You can see darkorange_bg_h24.jpg. Some people cannot see it on their computers. If my computer cannot show it, I may need to make more pictures, however, my computer showed that it was normal. I used imgbutton. The person who made the picture said that I was too lazy to do it. I used this picture instead. Where can I find this problem, at first, I thought it was an Ajax problem. I tried it one by one, but I didn't know what the cause was. Basically, all the people in the Department read it. the computer shows different results, so I think it's the reason for IE. I am dead, and there is no way at last. I can only remove this background image. After the release is successful, a test page is created, which is also:
<Asp: button id = "button1" runat = "server" text = "button" style = "font-weight: bold; Background-image: URL (/webresources/images/v2/darkorange_bg_h24.jpg); "forecolor =" blue "/> and
<Tr>
<TD style = "font-weight: bold; Background-image: URL (/webresources/images/v2/darkorange_bg_h24.jpg);">
Dsadsa </TD>
<TD>
Dsadsa </TD>
<TD>
Dsadsa </TD>
<TD>
Dsadsa </TD>
</Tr>
This test is for our colleagues. The background image of the button cannot be displayed. The background of the TD cell can be used to display the image. At last, write an email to notify people in the department to avoid adding a background image to the button in this way, if you see it, don't look for reasons.

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.