[OpenLayers-Trac] Re: [OpenLayers] #3175: With a DOCTYPE declaration I can't use an external style sheet to set the width and height properties

OpenLayers trac-20090302 at openlayers.org
Sun Mar 20 12:08:01 EDT 2011


#3175: With a DOCTYPE declaration I can't use an external style sheet to set the
width and height properties
----------------------+-----------------------------------------------------
  Reporter:  flsc     |       Owner:                            
      Type:  task     |      Status:  closed                    
  Priority:  minor    |   Milestone:                            
 Component:  css      |     Version:  2.10                      
Resolution:  invalid  |    Keywords:  doctype, percentaje values
     State:           |  
----------------------+-----------------------------------------------------
Changes (by ahocevar):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 In standards compliant mode, the percentages will only work if the
 container has a dimension. So make sure that all of html, body and
 wrapping containers have a width and height set (can be percentage as
 well).

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3175#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list