panel height

I have an OpenLayers map loading into an Appery panel component. I want the map to be 100% width and height. Using 100% for width works fine, but it doesn't work with the height. The height always get flatten to 0px.

I have to set a fixed height. But, I don't want to do that. I want it to adjust to my touch wall down to a tablet size.

How do keep the panel height from being overridden to 0px?

Thanks,
Don

div.mapPanel,#map {
margin : 0;
padding : 0;
width:100%;
height:768px;

}
2 people have
this question
+1
This topic is no longer open for comments or replies.