I want to know if the way to align text of the link is as follows:
<a text-align="center" href=<%=rs("IDENTIDICACION")%> download=<%=rs("IDENTIDICACION")%>>TEST</a>
Because the word is not centered: test
I want to know if the way to align text of the link is as follows:
<a text-align="center" href=<%=rs("IDENTIDICACION")%> download=<%=rs("IDENTIDICACION")%>>TEST</a>
Because the word is not centered: test
You can try with these styles:
a{
text-align: center;
display: inline-block;
width: 100%;
}
<a href="" >TEST</a>
Or if you want them online:
<a href="" style="text-align: center; display: inline-block; width: 100%; ">TEST</a>
you are using css syntax this would be the way to html:
text-align="center"//no
align="center"//si
Try adding CSS ( text-align and margin ) as follows:
<a style="text-align:center; margin:auto;" href=<%=rs("IDENTIDICACION")%> download=<%=rs("IDENTIDICACION")%>>
TEST
</a>
try this way:
<p style="text-align:center;">
<a href=<%=rs("IDENTIDICACION")%> download=<%=rs("IDENTIDICACION")%>>TEST</a>
</p>