css3 - resetting a list to be vertical -



css3 - resetting a <UL> list to be vertical -

i have created tabbed area using list "" of radio buttons. these stack horizontally.

i need create list within content area of tabbed area. when create list, lists horizontal.

is there way of targeting ul within ul , 'resetting it'? or maybe can utilize alter numbers bullets?

here fiddle link: http://jsfiddle.net/stevedavies/4njb6/ here css tabbed area

.tabs input[type=radio] { position: absolute; top: -9999px; left: -9999px; } .tabs { width: 670px; float: none; list-style: none; position: relative; padding: 0; margin: 75px auto; } .tabs li{ float: left; } .tabs label { display: block; padding: 10px 20px; border-radius: 0px 0px 0 0; color: #ffffff; font-size: 16px; font-weight: bold; font-family: helvetica; background: #ccc; cursor: pointer; position: relative; top: 3px; -webkit-transition: 0.2s ease-in-out; -moz-transition: 0.2s ease-in-out; -o-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; clear:both; } .tabs label:hover { background: #adafaf; top: 0px; }

and here code in html 1 of tabs:

<div style="clear:both;"> <ul class="tabs"> <!-- find me tab --> <li> <input type="radio" checked name="tabs" id="tabfindme"> <label for="tabfindme">find me</label> <div id="tab-content1" class="findmecontent animated fadein"

>

hope can help!

many thanks

steve

i added css might help you. hope expecting. allow me know if not expected output.

css:

.normalul h3 li,.findmecontent div ul li{ float:none; }

fiddle demo

css3 html-lists tabbed

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -