Например так: <style type="text/css"> .text, .text2 {font-size:12px;font-family: Verbana; text-decoration:underline; color:black;border:0 solid #bebebe;border-width:0 1px;background:#f5f4f2;padding:0px 2px;} .text2 {background:white;} .table {text-align:center; width: 65px; height:41px;} .table2 {width: 100%;border-spacing:2px 0px;} .ramka {width:100%;border-spacing:2px 0px;} .b1, .b2, .b3, .b4, .b5, .b6, .b7, .b8 { display:block; overflow:hidden; } .b1, .b2, .b3, .b5, .b6, .b7 { height:1px; } .b2, .b3, .b4, .b6, .b7, .b8 { border-left:1px solid #bebebe; border-right:1px solid #bebebe; } .b2, .b3, .b4 { background:#f5f4f2; } .b6, .b7, .b8 { background:white; } .b1, .b5 { margin:0 5px; background:#bebebe; } .b2, .b6 { margin:0 3px; border-width:0 2px; } .b3, .b7 { margin:0 2px; } .b4, .b8 { height:2px; margin:0 1px; } </style>