XHTML 2.0

2008-01-07 11:29 pm
我整了個php的member system
編寫用xhtml 2.0 w3c正規格式
而w3c正規格式的table係用唔到height
咁我仲可以用咩attribute?

回答 (1)

2008-01-08 8:46 pm
✔ 最佳答案
你用css 寫應該得:

<table style="height:50%">
................
</table>

_____________________________
或者你可以分開佢甘樣寫:
<html>

<head>
<style type="text/css">
#table1 {height: 50%}
</style>
</head>

<body>
<table id="table1">
...............
</table>
</body>

</html>

2008-01-08 12:47:33 補充:
o個行亂左,應該係甘樣:<table id="table1">

2008-01-08 12:49:07 補充:
都係唔得無計la,我唯有用全形打個double quote<table id=”table1”>

2008-01-08 12:50:03 補充:
另外 個height 唔一定要用%, 用pixel都得例如height: 100px

2008-01-08 12:52:00 補充:
若果我個答案唔work o既話你send email比我,我洗番


收錄日期: 2021-04-23 00:18:53
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20080107000051KK01698

檢視 Wayback Machine 備份