Hello,
I'm using a treeviewmenu on my website.
This is the code i'm using:
From aspx-file
<dnn:TREEVIEW runat="server" id="dnnTREEVIEW" CssClass="TreeViewMenu" level="root" nowrap="true" treeIndentWidth="5" IncludeHeader="False" NodeChildCssClass="TreeViewNode" NodeCssClass="TreeViewNode" NodeOverCssClass="TreeViewNodeOver" NodeSelectedCssClass="TreeViewNodeSelected" NodeClosedImage="" NodeLeafImage="/dnn/Portals/0/Skins/CLB-skin/spacer.gif" NodeOpenImage=""/>
From stylesheet
.TreeViewMenu {
width: 175px;
}
.TreeViewNode{
width: 125px;
height: 20px;
padding: 5px;
background-image: url(menu.jpg);
text-align: left;
font-family: Tahoma, Arial, Helvetica;
font-size: 10px;
font-weight: bold;
color: #C8C8C8;
background-repeat: no-repeat;
}
.TreeViewNodeOver{
width: 125px;
height: 20px;
padding: 5px;
background-image: url(menu_in.jpg);
text-align: left;
font-family: Tahoma, Arial, Helvetica;
font-size: 10px;
font-weight: bold;
color: #00A4C8;
background-repeat: no-repeat;
}
.TreeViewNodeSelected{
width: 125px;
height: 20px;
padding: 5px;
background-image: url(menu.jpg);
text-align: justify;
font-family: Tahoma, Arial, Helvetica;
font-size: 10px;
font-weight: bold;
color: #FFFFFF;
background-repeat: no-repeat;
}
IE displays the control like it should (screenshot at http://www.go-clb.be/temp/2.gif )
When I open my website with a Mozilla-based browser like Firefox or Opera; the browser ignores the given width and height of the different nodes (screenshot at http://www.go-clb.be/temp/1.gif ).
Is their a way to solve this problem? Do I have to use different css code for these browers?
All sugestions are welkom!
Greetz,
Bruno Devos