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)