枠(一括指定 border)
<html> <head> <title>枠</title> <style type="text/css"> <!-- p { margin: 30px 5px; padding: 5px; } .c1 { border: 2px solid red; } .c2 { border: 5px double yellow; } .c3 { border: 10px outset #f0f; } //--> </style> </head> <body> <p class="c1"> 2px solid red<br> </p> <p class="c2"> 5px double yellow<br> </p> <p class="c3"> 10px outset #f0f<br> </p> </body> </html>
〔 実行する 〕