• 0
Sign in to follow this  
ju_rezende

Tamanho De Tabelas

Question

Olá pessoal preciso que esta td fique no tamanho 14, mas naõ estou conseguindo fazer isso..Será que alguém poderia me ajudar?

Abraços

<table width="779"  height="14" border="0" cellspacing="0" cellpadding="0">

  <form name="form_relogio">

  <tr>

      <td height="14" bgcolor="#8DB5AF"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif"><strong>

        <div align="center">

        <%response.write "Jacareí, " & nDia & " de " & sMes & " de " & nAno %>

    <input type="text" name="relogio" height="10"size="10" style="background-color: #8DB5AF; border: 1px solid #8DB5AF; font color:#FFFFFF; font-size:9;font-weight: normal;

font-family:Arial, Helvetica, sans-serif;" /> </div></td>

  </tr>

  </form>

</table>

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Já coloquei o 14px mas não atera o tamanho databela

Testa ai meu codigo......

Voua passar o codigo inteiro...

<html>

<head>

<title>Untitled Document</title>

<script language="JavaScript">

function moveRelogio(){

    momentoAtual = new Date()

    hora = momentoAtual.getHours()

    minuto = momentoAtual.getMinutes()

    segundo = momentoAtual.getSeconds()

    timeValue = "" + ((hora >12) ? hora -12 :hora)

        timeValue += ((minuto < 10) ? ":0" : ":") + minuto

        timeValue += ((segundo < 10) ? ":0" : ":") + segundo

        timeValue += (hora >= 12) ? " P.M." : " A.M."

    horaImprimivel = hora + " : " + minuto + " : " + segundo + " : " + timeValue

    document.form_relogio.relogio.value = timeValue;

    setTimeout("moveRelogio()",1000)

}

</script>

</head>

<body onload="moveRelogio()"><body>

<% Dim nDia

dim nMes

dim nAno

dim nDiaSemana

Dim sDiaSemana

dim sMes

nDia=Day(date)

nMes=month(date)

nAno=Year(date)

nDiaSemana=weekday(Date)

Select case nDiaSemana

case 1

sDiaSemana="Domingo"

case 2

sDia Semana="Segunda"

case 3

sDiaSemana="Terça"

case 4

sDiaSemana="Quarta"

case 5

sDiaSemana="Quinta"

case 6

sDiaSemana="Sexta"

case 7

sDiaSemana="Sábado"

end select

Select case nMes

case 1

sMes="Janeiro"

case 2

sMes="Fevereio"

case 3

sMes="Março"

case 4

sMes="Abril"

case 5

sMes="Maio"

case 6

sMes="Junho"

case 7

sMes="Julho"

case 8

sMes="Agosto"

case 9

smes="Setembro"

case 10

sMes="Outubro"

case 11

sMes="Novembro"

case 12

sMes="Dezembro"

end select%>

<table width="779"  height="14" border="0" cellspacing="0" cellpadding="0">

  <form name="form_relogio">

  <tr>

      <td height="14px" bgcolor="#8DB5AF"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif"><strong>

        <div align="center">

        <%response.write "Jacareí, " & nDia & " de " & sMes & " de " & nAno %>

          <input type="text" name="relogio" height="10"size="10" style="background-color: #8DB5AF; border: 1px solid #8DB5AF; color:#FFFFFF; font-size:9;font-weight: normal;

font-family:Arial, Helvetica, sans-serif;" /> </div></td>

  </tr>

  </form>

</table>

</body>

</html>

Abraços ........

Share this post


Link to post
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.

Sign in to follow this