link tab difficulties

admin

Administrator
Staff member
i'm not sure which forum this should go in...but what i am trying to do is... to have a link e.g. gallery, and have two sub topics underneathe like so:
gallery
computer gen
freehand

with "computer gen" and "freehand" being slightly to the right [like a tab]
any help would be greatly appreciated

Thanks

meL~~Definition list or unordered list
<dl>
<dt>gallery</dt>
<dd>computer gen</dd>
<dd>freehand</dd>
</dl>

<ul>
<li>gallery
<ul>
<li>computer gen</li>
<li>freehand</li>
</ul>
</li>
</ul>EDIT: ...he said it ^ :cool:...or headings.<h3>Gallery</h3>
<ul>
<li>Computer Generated</li>
<li>Freehand</li>
</ul>thx alot :Dbut...what i need is...for "freehand" and "computer gen" to be ONLY visible once "gallery" has been clicked on...any ideas?<ul>
<li><a href=http://www.webdeveloper.com/forum/archive/index.php/"#" onmousedown="toggleShow('moose')">gallery</a>
<ul id="moose">
<li>computer gen</li>
<li>freehand</li>
</ul>
</li>
</ul>
<script type="text/javascript">
function toggleShow(){
var a=document.getElementById(arguments[0]);
a.style.display=(a.style.display=="none")?"":"none";
}
toggleShow('moose');
</script>it works...but...if i don't want bullets to be displayed...is there any way to counter that...<!-- m --><a class="postlink" href="thankshttp://www.w3.org/TR/REC-CSS1#list-style">thankshttp://www.w3.org/TR/REC-CSS1#list-style</a><!-- m -->

list-style:none
 
Back
Top