[Users] how to style background-color / Graphics in viewport region?

Marc Jansen jansen at terrestris.de
Mon Sep 13 07:58:57 CEST 2010


Hi Robert,

use the ctCls (container class) property:

|{
     title: 'Footer',
     region: 'south',
     height: 150,
     minSize: 75,
     maxSize: 250,
     cmargins: '5 0 0 0',
     ctCls: 'footer-container'
}|


and a CSS like

|.footer-container {
   /* style as usual */
}


|

Hope that helps,
Marc



On 08.09.2010 09:29, Robert Buckley wrote:
> Hi,
>
> I would like to build a nice header including graphics and text. How do I go
> about styling a region in a viewport. I have managed to include text my giving
> the ContentEL: "header" element to the "northpanel", but if I create a div with
> the id "header" the style is not generated.
>
> What is the best way to achieve this?
>
> Yours and thanks,
>
> Robert
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>    


-- 

   .................................................................
    Karten im (Inter|Intra)net?

    OpenLayers - Webentwicklung mit dynamischen Karten und Geodaten
    von M. Jansen und T. Adams, OpenSourcePress, München.

    ISBN: 978-3-937514-92-5
    URL:  http://openlayers-buch.de
   .................................................................


   Dipl.-Geogr. Marc Jansen
   - Anwendungsentwickler -

   terrestris GmbH&  Co. KG
   Irmintrudisstraße 17
   53111 Bonn

   Tel:    ++49 (0)228 / 96 28 99 -53
   Fax:    ++49 (0)228 / 96 28 99 -57

   Email:  jansen at terrestris.de
   Web:    http://www.terrestris.de

   Amtsgericht Bonn, HRA 6835
   Komplementärin:  terrestris Verwaltungsgesellschaft mbH
   vertreten durch: Hinrich Paulsen, Till Adams


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100913/87d905f4/attachment.htm 


More information about the Users mailing list