Sublime Text
<!DOCTYPE html> <html> <head> <title>Xem ví dụ</title> <style type="text/css"> #test{ border:3px solid #00ff00; width:300px; height:300px; padding:20px; overflow:scroll; } </style> </head> <body> <div id="test"> <p>- SUMO, chú mèo bé bỏng của tôi . . . .</p> <img src="../image/sumo.jpg" style="width:280px"> </div> <p style="line-height:30px;font-size:18px;">- <u>GIẢI THÍCH</u>: Phần tử luôn luôn tạo hai thanh scroll ngang & dọc, mặc cho nội dung của nó có vượt quá phạm vi phần content của nó hay không.</p> </body> </html>
<!DOCTYPE html> <html> <head> <title>Xem ví dụ</title> <style type="text/css"> #test{ border:3px solid #00ff00; width:300px; height:300px; padding:20px; overflow:scroll; } </style> </head> <body> <div id="test"> <p>- SUMO, chú mèo bé bỏng của tôi . . . .</p> <img src="../image/sumo.jpg" style="width:280px"> </div> <p style="line-height:30px;font-size:18px;">- <u>GIẢI THÍCH</u>: Phần tử luôn luôn tạo hai thanh scroll ngang & dọc, mặc cho nội dung của nó có vượt quá phạm vi phần content của nó hay không.</p> </body> </html>