求js按行分页或者按div高度分页

来源:百度知道 编辑:UC知道 时间:2024/06/04 07:54:49
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<style>
* {
font-size:10.2pt;
font-family:tahoma;
line-height:150%;
}
.divContent
{
border:1px solid red;
background-color:#FFD2D3;
width:500px;
word-break:break-all;
margin:10px 0px 10px;
padding:10px;
}
</style>
</HEAD>

<BODY>
header
<div id="divPagenation"></div>
<div id="divContent"></div>
footer
<SCRIPT LANGUAGE="JavaScript">
<!--
s=&

<!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" lang="gb2312">

<head>

<title>CSS+JS实现的静态页面翻页效果</title>

<style type="text/css">

* {

font : normal 12px/1.5em "Microsoft YaHei", Tahoma;

_font : normal 12px/1.5em Tahoma; /* CSS Hack For IE6 */

border: 0px;

margin: 0px;

padding: 0px;

overflow: hidden;

text-decoration: none;

*text-overflow: ellipsis; /* CSS Hack For IE7 & IE6 */

}

a {

color: #333;