急!!!菜鸟提问:用代码制作网页中,如何排布表格与文字的位置?

来源:百度知道 编辑:UC知道 时间:2024/05/27 09:25:11
制作过程中,做了个TABLE 表示一个竖的NAVIGATION BAR。再想在网页中加入大段文字,放在这个TABLE的右边。可是大段文字总跑到TABLE下方。
以下是CODE:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<style type="text/css">
<!--
@import url("xuange style sheet.css");

-->
</style>
<style type="text/css">
<!--
.style2 {font:Trebuchet MS;
font-size:14;
color:#FF9999;
font-weight:bold}
.style3 {
font-family: Arial, Helvetica, sans-serif;
border-left: 200px;
float: inherit;
}
-->
</style>
</head

是你不够仔细的问题,估计是随便从哪里复制的代码吧,丢了一些东西,测试好的代码如下,几处加入了一些标签:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<style type="text/css">
<!--
@import url("xuange style sheet.css");

-->
</style>
<style type="text/css">
<!--
.style2 {font:Trebuchet MS;
font-size:14;
color:#FF9999;
font-weight:bold}
.style3 {
font-family: Arial, Helvetica, sans-serif;
border-left: 200px;
float: inherit;
}
-->
</style>
</head>
<body> <!-- 新加入 --&g