Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のjspファイルには、次の行があります。
<tr><td><s:fielderror/></td></tr>
これにより、エラーがデフォルトの黒色で表示されます。フィールドエラーメッセージの色を変更して、たとえば赤にし、強調表示された形式で表示する方法はありますか?
これを試して:
<tr> <td style="color:blue;background-color:yellow;"> <s:fielderror/> </td> </tr>
http://www.w3schools.com/html/html_css.asp