jsp页面,我发现加了
之后就不能居中了,现在怎么让这段文字居中?<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<html>
<head>
</head>
<link href="css/style.css" rel="stylesheet" type="text/css"/>
<body>
<div id="body">
<table>
<tr>
<td>
<p2><b style="color:blue;font-size: 20;text-align:center">欢迎光临新世纪网上书店</b></p2>
</td></tr>
</table>
</div>
</body>
</html>
@charset "UTF-8";
#body{float: center;}