[OpenLayers-Users] Panel not showing my custom buttons

Planet)x andrew.stewart at reddeer.ca
Fri Aug 20 14:08:31 EDT 2010


Sorry here is my stylesheet code also if that helps -


#toolbar  
{
 position:absolute;
 top:0;
 right:0;
 height: 100%;
 background-color:#4D80B3;
 width: 30px;
}
.olControlPanel
{
 position:absolute;
 top:0;
 right:0;
 height: 100%;
 background-color:#4D80B3;
 width: 30px;
}
.olControlPanel .olControlMouseDefaultsItemActive 
{ 
    background-image: url("OpenLayers-2.9.1/theme/default/img/pan.gif");
}
.olControlPanel .olControlMouseDefaultsItemInactive 
{ 
    background-image: url("OpenLayers-2.9.1/theme/default/img/pan.gif");
}
.olControlPanel .olControlButtonHomeItemActive 
{ 
    background-image: url("OpenLayers-2.9.1/theme/default/img/home.gif");
}
.olControlPanel .olControlButtonHomeItemInActive 
{ 
    background-image: url("OpenLayers-2.9.1/theme/default/img/home.gif");
}
.olControlPanel .olControlButtonQueriesItemActive 
{ 
    background-image: url("OpenLayers-2.9.1/theme/default/img/query.gif");
}
.olControlPanel .olControlButtonQueriesItemInActive 
{ 
    background-image: url("OpenLayers-2.9.1/theme/default/img/query.gif");
}
.olControlPanel .olControlDrawFeatureItemActive 
{ 
    width:  22px;  
    height: 22px;
    background-image:
url("OpenLayers-2.9.1/theme/default/img/draw_line_on.png");
}
.olControlPanel .olControlDrawFeatureItemInactive 
{ 
    width:  22px;  
    height: 22px;
    background-image:
url("OpenLayers-2.9.1/theme/default/img/draw_line_off.png");
}
.olControlPanel .olControlZoomBoxItemInactive 
{ 
    width:  22px;  
    height: 22px;
    background-image:
url("OpenLayers-2.9.1/theme/default/img/zoomarea.gif");
}
.olControlPanel .olControlZoomBoxItemActive 
{ 
    width:  22px;  
    height: 22px;
    background-image:
url("OpenLayers-2.9.1/theme/default/img/zoomarea.gif");
}
.olControlPanel .olControlZoomToMaxExtentItemInactive
{ 
    width:  18px;  
    height: 18px;
    background-image: url("OpenLayers-2.9.1/img/zoom-world-mini.png");
}
.olControlPanel .olControlButtonPrintItemActive 
{ 
    background-image:
url("OpenLayers-2.9.1/theme/default/img/printadvanced.gif");
}
.olControlPanel .olControlButtonPrintItemInactive 
{ 
    background-image:
url("OpenLayers-2.9.1/theme/default/img/printadvanced.gif");
}
.olControlPanel .olControlButtonHelpItemActive 
{ 
    background-image: url("OpenLayers-2.9.1/theme/default/img/help.gif");
}
.olControlPanel .olControlButtonHelpItemInactive 
{ 
    background-image: url("OpenLayers-2.9.1/theme/default/img/help.gif");
}
.olControlPanel .olControlButtonTutorialItemActive 
{ 
    background-image:
url("OpenLayers-2.9.1/theme/default/img/tutorial.gif");
}
.olControlPanel .olControlButtonTutorialItemInactive 
{ 
    background-image:
url("OpenLayers-2.9.1/theme/default/img/tutorial.gif");
}
#selection
{
position: absolute;
left: 0px;
top: 0px;
height: 50%;
font-family: Arial;
font-size: 9pt;
text-align: left;
}
#legend
{
position: absolute;
left: 0px;
bottom: 0px;
height: 50%;
font-family: Arial;
font-size: 9pt;
}
#map
{
margin-top: 0px;
margin-left: auto;
margin-right: auto;
height: 100%;
width: 60%;
}

ul {
	list-style-type: none;
	margin: 1px;
	padding: 1px;
	}
li {
	background-image:url(Images/right.gif);
	background-position:0 0.3em;
	background-repeat:no-repeat;
	padding:2px 0 0 25px;
}
body
{
text-align: center;
}

-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Panel-not-showing-my-custom-buttons-tp5445530p5445540.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list