[OpenLayers-Users] Set css in % not in PX
Biribu
pabloblo85 at yahoo.es
Mon Jul 9 01:50:20 PDT 2012
I am trying to adjust the map window to diferents computers and resolutions
but I have some problems and I can't do it.
I have this in css right now:
#basicMap {
width: 828px;
height: 698px;
margin: 10px;
float: left;
}
html {
font-size: 10px;
bottom: 10px;
right: 10px;
}
And it works fine but when I try to change 828px and 698px by 70% and 50% or
other percentages, map is not shown.
I have other divs in my webpage but I didn't specified their percentages or
px yet...
Do I have to do other thing?
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Set-css-in-not-in-PX-tp4986866.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list