iframe style
<!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"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title></title> <style type="text/css" title="text/css"> #iframewrapper { width: 200px; border: solid 10px #777777; } #bordered { width: 200px; height: 200px; } iframe { width: 200px; height: 200px; } </style> </head> <body> <div id="iframewrapper"> <iframe src="http://www.java2s.com" scrolling="auto" name="news" frameborder="0" id="news">Your browser doesn't support iframes. Please <a href="http://www.java2s.com">click here</a> to see the content. </iframe> </div> </body> </html>