[OpenLayers-Users] Horizontal Custom Contol Panel

Richard Greenwood richard.greenwood at gmail.com
Wed Aug 6 10:24:20 EDT 2008


On Tue, Aug 5, 2008 at 5:02 PM, Bill Thoen <bthoen at gisnet.com> wrote:
> I've been experimenting with the Custom Control Panel example
> (http://openlayers.org/dev/examples/panel.html) but I was wondering what
> the most efficient way to arrange the buttons horizontally instead of
> vertically?
>
> - Bill Thoen

Put a float: left in your style, e.g.:

  .olControlPanel div {
    float:left;
  }

-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com



More information about the Users mailing list