Код:
<!--HTML--> <link href='http://fonts.googleapis.com/css?family=raleway' rel='stylesheet' type='text/css'><style type="text/css">.tabbycatss { position: relative; background:#f6ede1; font:10px/150% Calibri,sans-serif;color:#000; padding:1px 30px 25px; min-width:450px; max-width:470px; height:430px; margin:auto; -webkit-border-radius:10px; -moz-border-radius:10px; border-radius:10px; border-bottom:1px solid #ddd background-color: #f6ede1; border: 4px #ecd8a9 double; border-radius: 20px;-moz-box-shadow: inset 0 0 10px 5px #d18d4e; -webkit-box-shadow: inset 0 0 10px 5px #d18d4e; box-shadow: inset 0 0 10px 5px #d18d4e; clear: both; } .tabbycat {float: left;} .tabbycat label { display: block; width: 135px; text-align: center; font-family: lobster; margin-top: 28px; color: #000000; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; background: #f7f1e0; padding: 5px; text-shadow: 1px 1px 0px #fff; position: relative; margin-bottom: 10px; margin-left: 50px; } .rule {height: 130px; overflow: auto; text-align: justify; color: #68470e; font-size: 10px; background-color: #f6ede1; } .tabbycat [type=radio] { display: none; } .catcontent { position: absolute; font-family: verdana; font-size: 10px; text-transform: lowercase; text-align: left; line-heigh: 10% top: 30px; left: 10px; width: 508px; height: 360px; background: #f6ede1; border: 1px solid #edd89a;} [type=radio]:checked ~ label {color: #000; background-color: #d69960; border-bottom: 0px solid white; z-index: 2;} [type=radio]:checked ~ label ~ .catcontent {z-index: 1;} </style> <center> <div class="tabbycatss"> <div class="tabbycat"> <input type="radio" id="tabbycat-1" name="tabbycat-group-1" checked> <label for="tabbycat-1">прошлое</label> <div class="catcontent"> <table> <tr><td><div style="background-color: #d69960; font-family: Oswald;font-weight: bold; font-size: 20px;letter-spacing: 1px;color: #ffffff;text-shadow: 1px 1px 0px #222222;line-height: 100%;text-align: center;margin-top: 3px;"><div style="left: 30px; text-transform: uppercase;">water tribe</div></div> </td> <td><div style="background-color: #d69960; font-family: Oswald;font-weight: bold; font-size: 20px;letter-spacing: 1px;color: #ffffff;text-shadow: 1px 1px 0px #222222;line-height: 100%;text-align: center;margin-top: 3px;text-transform: uppercase;"><div style="left: 30px;;">earth kingdom</div></div></td> </tr> </table> <table><tr><td> <div class="rule"> <center>Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br></center></div></td> <td> <div class="rule"> <center>Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br></center></div></td> </tr> <tr><td><div style="background-color: #d69960; font-family: Oswald;font-weight: bold; font-size: 20px;letter-spacing: 1px;color: #ffffff;text-shadow: 1px 1px 0px #222222;line-height: 100%;text-align: center;margin-top: 3px;text-transform: uppercase;"><div style="left: 30px;;">fire nation</div></div> </td> <td><div style="background-color: #d69960; font-family: Oswald;font-weight: bold; font-size: 20px;letter-spacing: 1px;color: #ffffff;text-shadow: 1px 1px 0px #222222;line-height: 100%;text-align: center;margin-top: 3px;text-transform: uppercase;"><div style="left: 30px;;">airbenders</div></div></td> </tr> <tr><td> <div class="rule"> <center>Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br></center></div></td> <td> <div class="rule"> <center>Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br></center></div></td> </tr> </table> </div> </div> <div class="tabbycat"> <input type="radio" id="tabbycat-2" name="tabbycat-group-1"> <label for="tabbycat-2">будущее</label> <div class="catcontent"> <table> <tr><td><div style="background-color: #d69960; font-family: Oswald;font-weight: bold; font-size: 20px;letter-spacing: 1px;color: #ffffff;text-shadow: 1px 1px 0px #222222;line-height: 100%;text-align: center;margin-top: 3px;"><div style="left: 30px; text-transform: uppercase;">water tribe</div></div> </td> <td><div style="background-color: #d69960; font-family: Oswald;font-weight: bold; font-size: 20px;letter-spacing: 1px;color: #ffffff;text-shadow: 1px 1px 0px #222222;line-height: 100%;text-align: center;margin-top: 3px;text-transform: uppercase;"><div style="left: 30px;;">earth kingdom</div></div></td> </tr> </table><table><tr><td> <div class="rule"> <center>Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br></center></div></td> <td> <div class="rule"> <center>Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br></center></div></td> </tr> <tr><td><div style="background-color: #d69960; font-family: Oswald;font-weight: bold; font-size: 20px;letter-spacing: 1px;color: #ffffff;text-shadow: 1px 1px 0px #222222;line-height: 100%;text-align: center;margin-top: 3px;text-transform: uppercase;"><div style="left: 30px;;">fire nation</div></div> </td> <td><div style="background-color: #d69960; font-family: Oswald;font-weight: bold; font-size: 20px;letter-spacing: 1px;color: #ffffff;text-shadow: 1px 1px 0px #222222;line-height: 100%;text-align: center;margin-top: 3px;text-transform: uppercase;"><div style="left: 30px;;">airbenders</div></div></td> </tr> <tr><td> <div class="rule"> <center>Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br></center></div></td> <td> <div class="rule"> <center>Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br> Agata*<br></center></div></td> </tr> </table> </div> </div> </div></center>