jsp 滚动条不能居中

来源:百度知道 编辑:UC知道 时间:2024/06/30 13:19:18
滚动条不能居中 一直是靠左的,在MyEclipse里居中,在IE里不居中,不知道为什么,帮忙看下,另外还有个差不多的问题,有时间帮忙也看下
http://zhidao.baidu.com/question/105481527.html
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'message.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">

文字的话~就是..~<TEXTAREA cols="60" rows="30" id="temp10123" STYLE="width:200px;height:175px;overflow:auto">
后面直接接文字内容...

如果不是的话.~你去TEXTAREA搜这个有样式参考的..~

祝你好运..~!!!