藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 應用編程


    

藍森林 http://www.lslnet.com 2006年8月25日 8:28

表格問題。求解∼∼∼∼

為什麼字不能據中呢,水平可以。垂直怎麼都是在定上啊

[html]<style type="text/css">
<!--
a:link,a:visited,a:hover{
        text-decoration:none;
        font-weight:bolder;
        font-family:verdana;
        font-size:10px;
        color:white;
        width: 100%;
        height: 100%;
}
a:hover{background:#99ccff;color:black}
td{background:#336699;color:white}
-->
</style>
</head>

<body>
<table width="319" height="59" border="1" cellpadding="0" cellspacing="0" bordercolor="#BAC5D9">
  <tr align="center" valign="middle">
    <td><a href="1">dw</a></td>
    <td><a href="2">he</a></td>
  </tr>
  <tr align="center" valign="middle">
    <td><a href="3">ou</a></td>
    <td><a href="4">ge</a></td>
  </tr>
</table>[/html]

怎麼沒人幫啊

我這裡 IE5.0 & IE6.0 都沒有問題呀?

[html]
<table width="300" height="200" border="1" cellpadding="0" cellspacing="0" bordercolor="#BAC5D9">
  <tr align="center" valign="middle">
    <td><a href="1">dw</a></td>
    <td><a href="2">he</a></td>
  </tr>
  <tr align="center" valign="middle">
    <td><a href="3">ou</a></td>
    <td><a href="4">ge</a></td>
  </tr>
</table>
[/html]



問題好像在這裡```

<style type="text/css">
<!--
a:link,a:visited,a:hover{
        text-decoration:none;
        font-weight:bolder;
        font-family:verdana;
        font-size:10px;
        color:white;
        [color=red]width: 100%;
        height: 100%;[/color]
}
a:hover{background:#99ccff;color:black}
td{background:#336699;color:white}
-->
</style>
</head>

<body>
<table width="319" height="59" border="1" cellpadding="0" cellspacing="0" bordercolor="#BAC5D9">
  <tr align="center" valign="middle">
    <td><a href="1">dw</a></td>
    <td><a href="2">he</a></td>
  </tr>
  <tr align="center" valign="middle">
    <td><a href="3">ou</a></td>
    <td><a href="4">ge</a></td>
  </tr>
</table>




Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com