背景颜色 [英] Background color

查看:88
本文介绍了背景颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对代码中发生的事情感到非常困惑。我有一段

的代码(如下图所示,插入了两条注释行)。它们是基本相同的文本框(名称和变量不同)。然而,

第一个出现白色背景,第二个出现

黄色/金色背景。任何有关这个谜的帮助都将是

赞赏。


Shelly

< tr>

< td>< div align =" right">< strong>回答#2:

< / strong>< / div>< / td>

//此背景以白色显示

< td>< input name =" hint_2_Answer"类型= QUOT;文本" id =" hint_2_Answer"

value ="<?php if(isset($ _ hint2))echo $ _hint2;?>"

maxlength =" ; 20">

< / td>

< / tr>

< tr>

< td>< div align =" right">< strong>当前电子邮件地址:

< / strong>< / div>< / td>

//此背景以黄色/金色显示

< td>< input name =" email"类型= QUOT;文本" id =" email"

value ="<?php if(isset($ _ mail))echo $ _email; ?>"

maxlength =" 30">

< / td>

< / tr>

I am totally baffled by what is happening in my code. I have a section
of code (shown below with two comment lines inserted). They are
essentially identical text boxes (names and variables different). Yet,
the first comes up with a white background and the second comes up with
a yellow/gold background. Any help with this mystery would be
appreciated.

Shelly
<tr>
<td><div align="right"><strong>Answer #2:
</strong></div></td>
// This background comes up in white
<td><input name="hint_2_Answer" type="text" id="hint_2_Answer"
value="<?php if (isset($_hint2)) echo $_hint2;?>"
maxlength="20">
</td>
</tr>
<tr>
<td><div align="right"><strong>Current email address:
</strong></div></td>
// This background comes up in yellow/gold
<td><input name="email" type="text" id="email"
value="<?php if (isset($_mail)) echo $_email; ?>"
maxlength="30">
</td>
</tr>

推荐答案

_hint2))echo
_hint2)) echo


_hint2;?>"

maxlength =" 20">

< / td>

< / tr>

< tr>

< td>< div align =" right">< strong>当前电子邮件地址:

< / strong>< / div>< / td>

//此背景以黄色/金色显示

< td>< input name =" email"类型= QUOT;文本" id =" email"

value ="<?php if(isset(
_hint2;?>"
maxlength="20">
</td>
</tr>
<tr>
<td><div align="right"><strong>Current email address:
</strong></div></td>
// This background comes up in yellow/gold
<td><input name="email" type="text" id="email"
value="<?php if (isset(


_mail))echo
_mail)) echo


这篇关于背景颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆