I have some tabs that I now see are changeable via javascript however I need them to be pure html / css
I have some code so is it possible and how is it done to convert these tabs into html and css only…
Here are the working tabs: http://muslimahwebdesign.co.uk/deals/ukdesignbay/#
and here is my finished code without any javascript:
<style>table#maintable {
background:#F7F6F6;
text-align:center;
margin-left:auto;
margin-right:auto;
width:960px;
border-color: #BDBDBD;
border-width: 1px 1px 1px 1px;
border-style: solid;
-moz-box-shadow: 0 0 5px #888; -webkit-box-shadow: 0 0 5px#888; box-shadow: 0 0 15px #888;
}
tr { border-style:none }
td { border-style:none }
img { border:none }
#tabtable {
margin: 0;
padding: 0;
}
#tabs {
margin: 0px 0;
}
#tabs > ul {
cursor:pointer;
float: left;
background: #F7F6F6;
width:850px;
}
#tabs li {
width: 139px;
height: 45px;
list-style: none;
background-image: url(http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/tabinactive.png); background-repeat: no-repeat;
}
* html #tabs li {
display: inline;
}
#tabs li, #tabs li a {
float: left;
}
#tabs ul li.active {
background-image: url(http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/tabactive.png); background-repeat: no-repeat;
}
#tabs ul li.active a {
background-image: url(http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/tabactive.png); background-repeat: no-repeat;
}
#tabs div {
background: #FFFFCC;
clear: both;
display:block; height:323px; overflow:auto; background: url(http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/tabpanel3.png); background-position: center; background-repeat: no-repeat; padding-left:10px; padding-right:10px;
min-height:323px;
}
#tabs ul li a {
text-decoration: none;
padding: 8px;
color: #676767;
font-weight: bold;
font-family:tahoma,verdana,arial,sans serif;
font-size:12px;
}
.thumbs {
float:left;
border:#000 solid 1px;
margin-bottom:20px;
margin-right:20px;
}
#tabcontent1 {
font-family:tahoma,arial,sans serif; font-size:12px; color:#777777; height:300px; text-align:left;
}
#tabcontent1 ul li { background:transparent; display:list-item; float:none; margin:auto; padding:auto; height:auto; width:auto; cursor:auto; list-style:disc outside none; background-image:none; }
#tabcontent1 ol li { background:transparent; display:list-item; float:none; margin:auto; padding:auto; height:auto; width:auto; cursor:auto; list-style:decimal outside none; background-image:none; }
#tabcontent2 {
font-family:arial,sans serif; font-size:12px; color:#777777; height:300px; text-align:left;
}
#tabcontent2 ul li { background:transparent; display:list-item; float:none; margin:auto; padding:auto; height:auto; width:auto; cursor:auto; list-style:disc outside none; background-image:none; }
#tabcontent2 ol li { background:transparent; display:list-item; float:none; margin:auto; padding:auto; height:auto; width:auto; cursor:auto; list-style:decimal outside none; background-image:none; }
#tabcontent3 {
font-family:arial,sans serif; font-size:12px; color:#777777; height:300px; text-align:left;
}
#tabcontent3 ul li { background:transparent; display:list-item; float:none; margin:auto; padding:auto; height:auto; width:auto; cursor:auto; list-style:disc outside none; background-image:none; }
#tabcontent3 ol li { background:transparent; display:list-item; float:none; margin:auto; padding:auto; height:auto; width:auto; cursor:auto; list-style:decimal outside none; background-image:none; }
#tabcontent4 {
font-family:arial,sans serif; font-size:12px; color:#777777; height:300px; text-align:left;
}
#tabcontent4 ul li { background:transparent; display:list-item; float:none; margin:auto; padding:auto; height:auto; width:auto; cursor:auto; list-style:disc outside none; background-image:none; }
#tabcontent4 ol li { background:transparent; display:list-item; float:none; margin:auto; padding:auto; height:auto; width:auto; cursor:auto; list-style:decimal outside none; background-image:none; }
#tabcontent5 {
font-family:arial,sans serif; font-size:12px; color:#777777; height:300px; text-align:left;
}
#tabcontent5 ul li { background:transparent; display:list-item; float:none; margin:auto; padding:auto; height:auto; width:auto; cursor:auto; list-style:disc outside none; background-image:none; }
#tabcontent5 ol li { background:transparent; display:list-item; float:none; margin:auto; padding:auto; height:auto; width:auto; cursor:auto; list-style:decimal outside none; background-image:none; }
#tab-1 h1 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:36px; }
#tab-1 h2 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:24px; }
#tab-1 h3 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:18px; }
#tab-1 h4 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:14px; }
#tab-1 p { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:12px; }
#tab-2 h1 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:36px; }
#tab-2 h2 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:24px; }
#tab-2 h3 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:18px; }
#tab-2 h4 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:14px; }
#tab-2 p { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:12px; }
#tab-3 h1 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:36px; }
#tab-3 h2 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:24px; }
#tab-3 h3 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:18px; }
#tab-3 h4 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:14px; }
#tab-3 p { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:12px; }
#tab-4 h1 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:36px; }
#tab-4 h2 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:24px; }
#tab-4 h3 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:18px; }
#tab-4 h4 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:14px; }
#tab-4 p { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:12px; }
#tab-5 h1 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:36px; }
#tab-5 h2 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:24px; }
#tab-5 h3 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:18px; }
#tab-5 h4 { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:14px; }
#tab-5 p { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:12px; }
</style><table id="maintable" style="background: #F7F6F6; text-align: center; margin-left:auto; margin-left:auto; width: 960px; border-color: #BDBDBD; border-width: 1px 1px 1px 1px; border-style: solid; -moz-box-shadow: 0 0 5px #888; -webkit-box-shadow: 0 0 5px#888; box-shadow: 0 0 15px #888;">
<tbody><tr>
<td colspan="2"> </td>
</tr><tr><td width="460px">
<table id="countergrid">
<tbody><tr>
<td colspan="6">
<a href="getdeal.php"><img src="http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/bluegetitnow.png" style="border:none"></a>
</td>
</tr> <tr style="font-weight:bold; color:#000000; font-size:13px;">
<td>DEAL PRICE<br><span style="color:#7C8C91; font-weight:bold; font-size:24px;">£29.99</span></td>
<td><img src="http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/divide.gif"></td>
<td>REG. PRICE<br><span style="text-decoration:line-through; color:#97A3A6; font-weight:bold; font-size:24px;"> £69.99 </span></td>
<td><img src="http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/divide.gif"></td>
<td>YOU SAVE<br><span style="color:#EB4B1C; font-weight:bold; font-size:24px;">57%</span></td>
</tr>
<tr>
<td colspan="6" style="font-weight:bold; font-size:10px; color:#383838;">
</td>
</tr>
<tr>
<td id="qtycounter" colspan="6" style="vertical-align: bottom; height:100px; width:375px; background: url(http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/qtyframe.png); background-position: center; background-repeat: no-repeat;">
<img src="http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/4.jpg" style="border:none;"><img src="http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/9.jpg" style="border:none;">
</td>
</tr></tbody></table>
</td>
<td style="text-align:right; padding-right:8px;"><div style="text-align:center; width: 480px; height:270px; margin-left:auto; margin-right:auto;"><img style=" border:none; max-height:100%; max-width:100%;" src="http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/deal.jpg"></div></td>
</tr>
<tr>
<td colspan="2" style="vertical-align:middle; text-align:left; height:74px; width:931px; background: url(http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/socialpanel.png); background-position: center; background-repeat: no-repeat;" align="center">
<table style="width:931px; position: relative; top: 54%; margin-top: -6%; " cellpadding="0">
<tbody><tr>
<td style="width:50%">
<img style="border:0; cursor:pointer" src="http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/sharedeal.png">
<a class="sharepopup" href="http://twitter.com/share?text=Just%20Picked%20Up%20A%20Great%20Deal:%20ukdesignbay%20-%20http%3A%2F%2Fmuslimahwebdesign.co.uk%2Fdeals%2Fukdesignbay"><img style="border:0; cursor:pointer" src="http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/twitter.png"></a>
<a class="sharepopup" href="http://www.facebook.com/sharer.php?s=100&p[title]=Amazing+Deal%21&p[summary]=Check+Out+This+Deal+%3A+ukdesignbay&p=http%3A%2F%2Fmuslimahwebdesign.co.uk%2Fdeals%2Fukdesignbay"><img style="border:0; cursor:pointer" src="http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/facebook.png"></a>
<a class="sharepopup" id="pin" href="http://pinterest.com/pin/create/button/?url=http%3A%2F%2Fmuslimahwebdesign.co.uk%2Fdeals%2Fukdesignbay&media=http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/deal.jpg&" target="_blank" count-layout="none"><img src="http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/pinterest.png" title="Pin It" border="0"></a>
<a class="sharepopup" href="https://plus.google.com/share?url=http%3A%2F%2Fmuslimahwebdesign.co.uk%2Fdeals%2Fukdesignbay"><img style="border:0; cursor:pointer" src="http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/gplus.png"></a>
<a class="sharepopup" id="su" href="https://www.stumbleupon.com/submit?url=http%3A%2F%2Fmuslimahwebdesign.co.uk%2Fdeals%2Fukdesignbay"><img style="border:0; cursor:pointer" src="http://ukdesignbay.co.uk/template1/wp-content/themes/maestro/assets/images/stumble.png"></a>
</td><td></td> </tr>
</tbody></table>
</td></tr>
<tr>
<td colspan="2">
<table style="width:928px; text-align:left; margin-left:auto; margin-right:auto;">
<tbody><tr>
<td style="max-width:926px; overflow:none;">
<div id="tabs">
<ul id="tabtable"> <li style=""><a class="tabtops" href="#tab-1"><table style="width:125px;"><tbody><tr><td style="padding-top:7px; text-align:center">Template</td></tr></tbody></table></a></li> <li style=""><a class="tabtops" href="#tab-2"><table style="width:125px;"><tbody><tr><td style="padding-top:7px; text-align:center">Customise</td></tr></tbody></table></a></li> <li style=""><a class="tabtops" href="#tab-3"><table style="width:125px;"><tbody><tr><td style="padding-top:7px; text-align:center">Hosting £0</td></tr></tbody></table></a></li></ul> <div style="height:300px; max-width:900px; overflow:auto; " id="tab-1"><span id="tabcontent1">You get your professional template that will increase your sales</span></div> <div style="height:300px; max-width:900px; overflow:auto; " id="tab-2"><span id="tabcontent2">Easily update and customise your template with your own free editing account</span></div> <div style="height:300px; max-width:900px; overflow:auto; " id="tab-3"><span id="tabcontent3"></span></div> </div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>