Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

html, displaying a link as normal text

Tags:

html

i was wondering if you can display a link as normal text.

<a id="" href="" target="_parent"><img src="" width="121" height="20" alt="">
<div style="position:absolute;left:163px;top:1px;font-size: 12px; display: block">
<font color="white">Log in</font></a>

I'm trying to overlap a image which is also a button, with the text "Log In", it works as it is with the code above, but i was wondering if i can change the "log in" which displays as blue and underlined to appear as normal text.

like image 918
Foxticity Avatar asked Oct 03 '11 14:10

Foxticity


People also ask

How do I turn a link into a regular text?

If you have many such links, press Ctrl+A to select the entire document and then press Ctrl+Shift+F9 to eliminate the fields that support the hyperlinks, converting them to text.

How do I remove the hyperlink from text in HTML?

Right-click the hyperlink text, and then click Remove Hyperlink.


1 Answers

In css:

a {
  color: inherit;
  text-decoration: inherit;
}

These values can also be stuck in your anchor tag's style attribute.

Should result in your anchor tags looking the same as the text color and decoration of the parent(s).

like image 51
stslavik Avatar answered Sep 21 '22 15:09

stslavik