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.
ナビゲーション バーを作成していますが、リンクではなく、テーブル セルのマウスオーバー後にリンクの色を変更したいと考えています。これには簡単な方法がありますか?または、そのタグで要素を取得するには? (GetElementByTag("a"))
@Stuartが言ったように、cssに次を追加し、cssがhtmlに含まれていることを確認してください。
td:hover a { color: blue }