Nguồn : [You must be registered and logged in to see this link.]
Chèn đoạn mã này vào homepage message hay bất cứ nơi đâu cho phép html
Sau đó chèn đoạn css sau vào css stylesheet
Chèn đoạn mã này vào homepage message hay bất cứ nơi đâu cho phép html
- Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>example page</title>
</head>
<body>
<div id="page">
<h1>Title</h1>
<div id="scroll_box">
<p>
Put a long text in here. It will be crollable.<br/>
Put a long text in here. It will be crollable.<br/>
Put a long text in here. It will be crollable.<br/>
Put a long text in here. It will be crollable.<br/>
Put a long text in here. It will be crollable.<br/>
Put a long text in here. It will be crollable.<br/>
Put a long text in here. It will be crollable.<br/>
</p>
</div>
<p>
This content follows after the scrollable box.
</p>
</div>
</body>
</html>
Sau đó chèn đoạn css sau vào css stylesheet
- Code:
#scroll_box {
height: 120px;
width: 400px;
display: auto;
border: 1px solid #CCCCCC;
margin: 1em 0;
}