Making vertical tabs "clickable"
Hey, on a page I'm working on there are horizontal and vertical tabs. The horizontal ones work fine, i can click anywhere in the tab and it activates it. But the vertical tabs only work when i click on the actual text inside the tab, not anywhere else. How can I make the whole tab clickable?
here is the .css for the vertically aligned tabs.
- <style type="text/css">
- /* Vertical Tabs----------------------------------*/
- .ui-tabs-vertical
- {
- width: 69em;
- }
- .ui-tabs-vertical .ui-tabs-nav
- {
- padding: .2em .1em .2em .2em;
- float: left;
- width: 13.75em;
- background: #eeeeee;
- }
- .ui-tabs-vertical .ui-tabs-nav li
- {
- clear: left;
- width: 100%;
- border-bottom-width: 1px !important;
- border-right-width: 0 !important;
- margin: 0 -1px .2em 0;
- }
- .ui-tabs-vertical .ui-tabs-nav li a
- {
- display: block;
- }
- .ui-tabs-vertical .ui-tabs-nav li.ui-tabs-selected
- {
- padding-bottom: 0;
- padding-right: .1em;
- border-right-width: 1px;
- border-right-width: 1px;
- }
- .ui-tabs-vertical .ui-tabs-panel
- {
- padding: 1em;
- float: right;
- width: 51em;
- }
- a
- {
- outline: none;
- }
- a img
- {
- border: none;
- }
- </style>
thanks for any and all help!