Jump to content
Fórum Script Brasil
  • 0

Links


Annelise

Question

6 answers to this question

Recommended Posts

  • 0

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">

Link to comment
Share on other sites

  • 0

de uma olhada no codigo ...se puder ...fiz certo...não funcionou.

bridaga pela dica

<%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>&nbsp;</TD>

<TD width=334>&nbsp;</TD>

<TD width=146>&nbsp;</TD>

</TR>

<TR>

<TD width=268 height="90">&nbsp;</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>&nbsp;</TD>

</TR>

<TR>

<TD height="26">&nbsp;</TD>

<TD><div align="left"><img src="DESTAQUE_DESTAQUE.png" width="331" height="34"></div></TD>

<TD>&nbsp;</TD>

</TR>

<TR>

<TD height="26" colspan="3"><table width="30%" border="0" align="left" cellpadding="0">

<tr>

<td width="18%">&nbsp;</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>&nbsp;</td>

<td><a href="detalhe_gestao_online.asp"><img src="BOTAO_GESTAO.png" width="163" height="26" border="0"></a></td>

</tr>

<tr>

<td>&nbsp;</td>

<td><a href="atoadministrativoinicial.asp"><img src="BOTAO_ATOS.png" width="163" height="26" border="0"></a></td>

</tr>

<tr>

<td>&nbsp;</td>

<td><a href="educacaopesquisainicial.asp"><img src="BOTAO_EDUCACAO.png" width="163" height="26" border="0"></a></td>

</tr>

<tr>

<td>&nbsp;</td>

<td><a href="detalhenumeros.asp"><img src="BOTAO_NUMEROS.png" width="163" height="26" border="0"></a></td>

</tr>

<tr>

<td>&nbsp;</td>

<td><a href="ultimas_noticias.asp"><img src="BOTAO_ULTIMASNOTICIAS.png" width="163" height="26" border="0"></a></td>

</tr>

<tr>

<td>&nbsp;</td>

<td><a href="detalhefuncionario.asp"><img src="BOTAO_CONHECA.png" width="163" height="26" border="0"></a></td>

</tr>

<tr>

<td>&nbsp;</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>&nbsp;</td>

<td><a href="detalheutilidades.asp"><img src="BOTAO_UTILIDADES.png" width="163" height="26" border="0"></a></td>

</tr>

<tr>

<td>&nbsp;</td>

<td><a href="pequenos_anuncios.asp"><img src="BOTAO_PEQANUNCIOS.png" width="163" height="26" border="0"></a></td>

</tr>

<tr>

<td>&nbsp;</td>

<td><a href="rh_resumo.asp"><img src="BOTAO_RH.png" width="163" height="26" border="0"></a></td>

</tr>

<tr>

<td>&nbsp;</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>&nbsp;</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>&nbsp;</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.MoveNext

Wend%>

</td>

</tr>

</table>

</td>

</tr>

</table>

<p>&nbsp;</p>

<p>&nbsp;</p>

</td>

<td width="3%">&nbsp;</td>

</tr>

</table></TD>

</TR>

</TBODY>

</TABLE>

<p>&nbsp;</p>

Link to comment
Share on other sites

  • 0

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>&nbsp;</TD>
<TD width=334>&nbsp;</TD>
<TD width=146>&nbsp;</TD>
</TR>
<TR>
<TD width=268 height="90">&nbsp;</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>&nbsp;</TD>
</TR>
<TR>
<TD height="26">&nbsp;</TD>
<TD><div align="left"><img src="DESTAQUE_DESTAQUE.png" width="331" height="34"></div></TD>
<TD>&nbsp;</TD>
</TR>
<TR>
<TD height="26" colspan="3"><table width="30%" border="0" align="left" cellpadding="0">
<tr>
<td width="18%">&nbsp;</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>&nbsp;</td>
<td><a href="detalhe_gestao_online.asp"><img src="BOTAO_GESTAO.png" width="163" height="26" border="0"></a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><a href="atoadministrativoinicial.asp"><img src="BOTAO_ATOS.png" width="163" height="26" border="0"></a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><a href="educacaopesquisainicial.asp"><img src="BOTAO_EDUCACAO.png" width="163" height="26" border="0"></a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><a href="detalhenumeros.asp"><img src="BOTAO_NUMEROS.png" width="163" height="26" border="0"></a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><a href="ultimas_noticias.asp"><img src="BOTAO_ULTIMASNOTICIAS.png" width="163" height="26" border="0"></a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><a href="detalhefuncionario.asp"><img src="BOTAO_CONHECA.png" width="163" height="26" border="0"></a></td>
</tr>
<tr>
<td>&nbsp;</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>&nbsp;</td>
<td><a href="detalheutilidades.asp"><img src="BOTAO_UTILIDADES.png" width="163" height="26" border="0"></a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><a href="pequenos_anuncios.asp"><img src="BOTAO_PEQANUNCIOS.png" width="163" height="26" border="0"></a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><a href="rh_resumo.asp"><img src="BOTAO_RH.png" width="163" height="26" border="0"></a></td>
</tr>
<tr>
<td>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</p>
<p>&nbsp;</p>
</td>
<td width="3%">&nbsp;</td>
</tr>
</table></TD>
</TR>
</TBODY>
</TABLE>
<p>&nbsp;</p>

Link to comment
Share on other sites

  • 0

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>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      651.9k
×
×
  • Create New...