Annelise Posted February 24, 2005 Report Share Posted February 24, 2005 Bom dia,tem como eu criar links sem que eles fiquem sublinhados?brigadim galera Quote Link to comment Share on other sites More sharing options...
0 lord_e Posted February 24, 2005 Report Share Posted February 24, 2005 tem sim utilize CSS (folha de estilo);no topo da pagina crie<style> .link {font-family:verdana; font-size: 13px; color: black; text-decoration: none} .link:active {font-family:verdana; font-size: 13px; color: black; text-decoration: none} .link:hover {font-family:verdana; font-size: 13px; color: black; text-decoration: underline} </style>e no <a href=""> do link adicione <a href="" class="link"> Quote Link to comment Share on other sites More sharing options...
0 Annelise Posted February 24, 2005 Author Report Share Posted February 24, 2005 de uma olhada no codigo ...se puder ...fiz certo...não funcionou.bridaga pela dica<%Option Explicit%><%Dim conn, SQL, Rsset conn=Server.CreateObject("ADODB.Connection")conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ= " & server.mappath("bdintranet.mdb")SQL="select top 5 * from noticia order by ID_noticia desc"set Rs=conn.Execute(SQL)%><style type="text/css"><!--body { background-attachment: scroll; background-image: url(index_branco.jpg); background-repeat: no-repeat; background-position: center top;}-->.link {font-family:verdana; font-size: 13px; color: black; text-decoration: none}.link:active {font-family:verdana; font-size: 13px; color: black; text-decoration: none}.link:hover {font-family:verdana; font-size: 13px; color: black; text-decoration: underline}</style><TABLE width=760 height="245" border=0 align="center" cellPadding=0 cellSpacing=3> <TBODY> <TR> <TD width=268 height=53> </TD> <TD width=334> </TD> <TD width=146> </TD> </TR> <TR> <TD width=268 height="90"> </TD> <TD width=334><table width="99%" border="0" cellpadding="0"> <tr> <td> <div align="left"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="250" height="90"> <param name="movie" value="file:///H|/Annelise/bannerzinho.swf"> <param name="quality" value="high"> <embed src="file:///H|/Annelise/bannerzinho.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="250" height="90"></embed> </object> </div></td> </tr> </table></TD> <TD width=146> </TD> </TR> <TR> <TD height="26"> </TD> <TD><div align="left"><img src="DESTAQUE_DESTAQUE.png" width="331" height="34"></div></TD> <TD> </TD> </TR> <TR> <TD height="26" colspan="3"><table width="30%" border="0" align="left" cellpadding="0"> <tr> <td width="18%"> </td> <td width="82%"><a href="" class="detalhecorpoclinico.asp"><img src="BOTAO_CORPO.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="detalhe_gestao_online.asp"><img src="BOTAO_GESTAO.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="atoadministrativoinicial.asp"><img src="BOTAO_ATOS.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="educacaopesquisainicial.asp"><img src="BOTAO_EDUCACAO.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="detalhenumeros.asp"><img src="BOTAO_NUMEROS.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="ultimas_noticias.asp"><img src="BOTAO_ULTIMASNOTICIAS.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="detalhefuncionario.asp"><img src="BOTAO_CONHECA.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="detalhe_alto_astral_texto.asp"><img src="BOTAO_ALTOASTRAL.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="detalheutilidades.asp"><img src="BOTAO_UTILIDADES.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="pequenos_anuncios.asp"><img src="BOTAO_PEQANUNCIOS.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="rh_resumo.asp"><img src="BOTAO_RH.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="http://mail.santacasabh.org.br" target="_self"><img src="BOTAO_EMAIL.png" width="163" height="26" border="0"></a></font></td> </tr> <tr> <td> </td> <td><div align="left"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="participe_tb.asp"><img src="BOTAO_PARTICIPETB.png" width="163" height="26" border="0"></a></font></div> </td> </tr> <tr> <td> </td> <td><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="paineldecontrole.asp"><img src="BOTAO_PAINEL.png" width="163" height="26" border="0"></a></font></td> </tr> </table> <table width="60%" border="0" align="left" cellpadding="0"> <tr> <td width="97%"><table width="429" border="0" align="left" cellspacing="0"> <tr> <td width="427" bgcolor="#FFFFFF"> <table width="406" border="0" align="center" cellspacing="0"> <tr> <td width="358" height="20" colspan="2"><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"></font></div> <font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="detalhe.asp?cod=<%=Rs("ID_noticia")%>"> </a> <%while not Rs.EOF%> </font></td> </tr> <tr bordercolor="#000000" bgcolor="#CCCCCC"> <td colspan="1" align="center" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><a href="detalhe.asp?cod=<%=Rs("ID_noticia")%>"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif"> <%Response.write left(Rs("assunto"),100)&""%> </font></a></td> </tr> <tr> <td height="20" colspan="2"><%Rs.MoveNextWend%> </td> </tr> </table> </td> </tr> </table> <p> </p> <p> </p> </td> <td width="3%"> </td> </tr> </table></TD> </TR> </TBODY></TABLE><p> </p> Quote Link to comment Share on other sites More sharing options...
0 lord_e Posted February 24, 2005 Report Share Posted February 24, 2005 acho que é isso... você esqueceu do class="link" <%Option Explicit%> <% Dim conn, SQL, Rs set conn=Server.CreateObject("ADODB.Connection") conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ= " & server.mappath("bdintranet.mdb") SQL="select top 5 * from noticia order by ID_noticia desc" set Rs=conn.Execute(SQL) %> <style type="text/css"> <!-- body { background-attachment: scroll; background-image: url(index_branco.jpg); background-repeat: no-repeat; background-position: center top; } --> .link {font-family:verdana; font-size: 13px; color: black; text-decoration: none} .link:active {font-family:verdana; font-size: 13px; color: black; text-decoration: none} .link:hover {font-family:verdana; font-size: 13px; color: black; text-decoration: underline} </style> <TABLE width=760 height="245" border=0 align="center" cellPadding=0 cellSpacing=3> <TBODY> <TR> <TD width=268 height=53> </TD> <TD width=334> </TD> <TD width=146> </TD> </TR> <TR> <TD width=268 height="90"> </TD> <TD width=334><table width="99%" border="0" cellpadding="0"> <tr> <td> <div align="left"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="250" height="90"> <param name="movie" value="file:///H|/Annelise/bannerzinho.swf"> <param name="quality" value="high"> <embed src="file:///H|/Annelise/bannerzinho.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="250" height="90"></embed> </object> </div></td> </tr> </table> </TD> <TD width=146> </TD> </TR> <TR> <TD height="26"> </TD> <TD><div align="left"><img src="DESTAQUE_DESTAQUE.png" width="331" height="34"></div></TD> <TD> </TD> </TR> <TR> <TD height="26" colspan="3"><table width="30%" border="0" align="left" cellpadding="0"> <tr> <td width="18%"> </td> <td width="82%"><a href="" class="detalhecorpoclinico.asp"><img src="BOTAO_CORPO.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="detalhe_gestao_online.asp"><img src="BOTAO_GESTAO.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="atoadministrativoinicial.asp"><img src="BOTAO_ATOS.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="educacaopesquisainicial.asp"><img src="BOTAO_EDUCACAO.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="detalhenumeros.asp"><img src="BOTAO_NUMEROS.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="ultimas_noticias.asp"><img src="BOTAO_ULTIMASNOTICIAS.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="detalhefuncionario.asp"><img src="BOTAO_CONHECA.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="detalhe_alto_astral_texto.asp"><img src="BOTAO_ALTOASTRAL.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="detalheutilidades.asp"><img src="BOTAO_UTILIDADES.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="pequenos_anuncios.asp"><img src="BOTAO_PEQANUNCIOS.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><a href="rh_resumo.asp"><img src="BOTAO_RH.png" width="163" height="26" border="0"></a></td> </tr> <tr> <td> </td> <td><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="http://mail.santacasabh.org.br" target="_self"><img src="BOTAO_EMAIL.png" width="163" height="26" border="0"></a></font></td> </tr> <tr> <td> </td> <td><div align="left"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="participe_tb.asp"><img src="BOTAO_PARTICIPETB.png" width="163" height="26" border="0"></a></font></div> </td> </tr> <tr> <td> </td> <td><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="paineldecontrole.asp"><img src="BOTAO_PAINEL.png" width="163" height="26" border="0"></a></font></td> </tr> </table> <table width="60%" border="0" align="left" cellpadding="0"> <tr> <td width="97%"><table width="429" border="0" align="left" cellspacing="0"> <tr> <td width="427" bgcolor="#FFFFFF"> <table width="406" border="0" align="center" cellspacing="0"> <tr> <td width="358" height="20" colspan="2"><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"></font></div> <font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif"><a [B]class="link"[/B] href="detalhe.asp?cod=<%=Rs("ID_noticia")%>"> </a> <%while not Rs.EOF%> </font></td> </tr> <tr bordercolor="#000000" bgcolor="#CCCCCC"> <td colspan="1" align="center" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><a [B]class="link"[/B] href="detalhe.asp?cod=<%=Rs("ID_noticia")%>"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif"> <%Response.write left(Rs("assunto"),100)&""%> </font></a></td> </tr> <tr> <td height="20" colspan="2"><%Rs.MoveNext Wend%> </td> </tr> </table> </td> </tr> </table> <p> </p> <p> </p> </td> <td width="3%"> </td> </tr> </table></TD> </TR> </TBODY> </TABLE> <p> </p> Quote Link to comment Share on other sites More sharing options...
0 lord_e Posted February 24, 2005 Report Share Posted February 24, 2005 assim esta mais facil de entender<td width="358" height="20" colspan="2"><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"></font></div><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif"><a class="link" href="detalhe.asp?cod=<%=Rs("ID_noticia")%>"> </a><%while not Rs.EOF%></font></td></tr><tr bordercolor="#000000" bgcolor="#CCCCCC"><td colspan="1" align="center" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><a class="link" href="detalhe.asp?cod=<%=Rs("ID_noticia")%>"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif"><%Response.write left(Rs("assunto"),100)&""%></font></a></td> Quote Link to comment Share on other sites More sharing options...
0 Annelise Posted February 24, 2005 Author Report Share Posted February 24, 2005 FUNCIONOU....BRIGADAO.....SE PRECISAR DE ALGO E EU PUDER AJUDAR. Quote Link to comment Share on other sites More sharing options...
0 lord_e Posted February 24, 2005 Report Share Posted February 24, 2005 podexa... estamos ai no forum .. qualquer duvida que tiver.. pode publica aki ... Quote Link to comment Share on other sites More sharing options...
Question
Annelise
Bom dia,
tem como eu criar links sem que eles fiquem sublinhados?
brigadim galera
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.