When visiting the page in Incognito (removing :visited
styles) the link's text is blue , but it should be white .
.button { color:#ffffff; /* white */ background:#d8eaf0; } .button:visited { color:#ffffff; /* white */ background:#d8eaf0; } .button:hover { color:#ffffff; /* white */ background:#3838a5; } .button:active { color:#ffffff; /* white */ background:#d8eaf0; }
<a href="example.com" style="text-decoration: none" class="button">text</a>
您的“ .button” CSS样式在哪里,将其更改为“ .button:link”。
Try setting the position
to absolute
. And if that still doesn't work, go onto incognito mode and go on inspect element
and check to see if the text box is overlapping.
If nothing still works, use inspect elements
on Google and that should give you a great headstart. Good luck :D
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.