Solved

jquery  tabs css

Posted on 2014-01-02
5
467 Views
Last Modified: 2014-02-05
I am trying to create a nice css for the nested tabs , but do not know where to begin.

here is my html
<div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active">
</ul>
<div id="ui-tabs-1" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
<div id="ui-tabs-vertical_3" class="ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-vertical ui-helper-clearfix">
<ul class="myMenu ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<div id="ui-tabs-2" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
</div>
</div>
</div>

<style>
.ui-tabs.ui-tabs-vertical {
    padding: 0;
}
.ui-tabs.ui-tabs-vertical .ui-widget-header {
    border: none;
}
.ui-tabs.ui-tabs-vertical .ui-tabs-nav {
    float: left;
    /*
width: 10em;
*/
    background: #CCC;
    border-radius: 4px 0 0 4px;
    border-right: 1px solid gray;
}
.ui-tabs.ui-tabs-vertical .ui-tabs-nav li {
    clear: left;
    width: 100%;
    margin: 0.2em 0;
    border: 1px solid gray;
    border-width: 1px 0 1px 1px;
    border-radius: 4px 0 0 4px;
    overflow: hidden;
    position: relative;
    right: -2px;
    z-index: 2;
}
.ui-tabs.ui-tabs-vertical .ui-tabs-nav li a {
    display: block;
    width: 100%;
    padding: 3px;
}
.ui-tabs.ui-tabs-vertical .ui-tabs-nav li a:hover {
    cursor: pointer;
}
.ui-tabs.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active {
    margin-bottom: 0.2em;
    padding-bottom: 0;
    border-right: 1px solid white;
}
.ui-tabs.ui-tabs-vertical .ui-tabs-nav li:last-child {
    margin-bottom: 10px;
}
.ui-tabs.ui-tabs-vertical .ui-tabs-panel {
    float: left;
    /*
width: 28em;
*/
    border-left: 1px solid gray;
    border-radius: 0;
   /*
 position: relative;
    left: -1px;
*/
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
      background-image: none;
      background-color:green;
    }
</style>
0
Comment
Question by:erikTsomik
  • 4
5 Comments
 
LVL 8

Accepted Solution

by:
Surrano earned 500 total points
ID: 39753442
Can you post a sketch of what you'd like to achieve?
0
 
LVL 19

Author Comment

by:erikTsomik
ID: 39753649
Well I do not have a sketch. But what I trying to accomplish is being able to control outer tabs separately from the inner tab . different colors width. Also if you have noticed the inner tabs are vertical .

Is that possible to shift inner tab somewhat outside so it looks like there are tabs horizontally and vertically sticking out   from 1 box
0
 
LVL 19

Author Comment

by:erikTsomik
ID: 39753665
Something like this for the horizontal tabs

http://www.jqueryrain.com/?Vd69wMvK

and the following link for the vertical

http://www.jqueryrain.com/?EoxzWsPG
0
 
LVL 19

Author Comment

by:erikTsomik
ID: 39756717
Here is the mock-up screen of what I am trying to a ccomplish
Presentation1.pptx
0
 
LVL 19

Author Comment

by:erikTsomik
ID: 39790691
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now