help for vertical menu

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
10/26/2009 1:50:28 AM
Gravatar
Total Posts 122

help for vertical menu

 

Hallo to All,

Im going to be crazy to format a menu and wish some help if somebody could

========== SCENARIO ==========

I'm using a skin derived from Mitchinson-business3 on mojoversion 2.3.1.9

I'm dealing with styletreeview.css to obtain this result:

firstmenu

secondmenu 1secondmenuleaf

                   2secondmenuleaf

                   3secondmenuleaf

thirdmenu

fourthmenu   1fourthmenuleaf

                    2fourthmenuleaf

                   3fourthmenuleaf


instead of standard formatting whitch is:

firstmenu

secondmenu

  1secondmenuleaf

  2secondmenuleaf

etc..

 ========== WHAT I've DONE ==========

- a lot of tests

- spended nights on pc

- studied CSS books

- get really angry and disappointed of myself

 ========= SOLUTION NOT WORKING =============

the standard solution from CSS manuals should be:

 
/* MENU FORMATTING */

.AspNet-TreeView{

margin:0;

padding:0;

width:200px;

list-stile:none;

}

.AspNet-TreeView ul{

margin:0;

padding:0;

width:200px;

list-stile:none;

}

.AspNet-TreeView a{

display:block;

text-decoration:none;

padding:2px 10 px;

}

*/ POSITIONING LEAF */

.AspNet-TreeView li.selected{

position:relative;

}

.AspNet-TreeView ul{

top: -1px;

left:190px;

position:absolute

}

*/ COLOURS */

.AspNet-TreeView li.selected{

font-weight:bold;

}

.AspNet-TreeView li.selected li{

font-weight:normal;

}

.AspNet-TreeView a:link,

.AspNet-TreeView a:visited{

background:#EEE;

color:#000;

}

.AspNet-TreeView a:hover,

.AspNet-TreeView a:focus,

.AspNet-TreeView a:active{

background:#FFF;

color:#009;

}

========= NEED HELP =============

1) what i'm doing wrong ?

2) how can I avoid to have the same background on parent and child, and specialy I want to have a transparent background UNDER

the parent menu even if thay have childs ?

Thank you for all help you can give me
bye

michele (italy)

 

 

10/30/2009 5:46:03 AM
Gravatar
Total Posts 122

Re: help for vertical menu

after lot of work and test... RESOLVED !!!

thank you all

Michele

 

You must sign in to post in the forums. This thread is closed to new posts.