<!doctype html> <html> <head> <meta charset="utf-8"> <title>css边框</title> <style>#box1{boder:#ccc solid 1px;width:500px;height:200px}</style> </head> <body> <div id="box1"></div> </body> </html>