GeoSearch CSS Tutorial

Changing the Fonts

Once you know how to create a style section and add CSS declarations, changing the fonts displayed in GeoSearch is a snap.

CSS Font Attributes

The following is a list of the different font-related attributes that you might wish to change:

For more information on CSS font attributes, see the CSS Font and Text Style Wizard , brought to you by www.somacon.com

CSS Declaration

There are two distinct classes of text that we might want to change:

..and we can either make these changes in the:

We'll show here the font changes as applied to the list div:

    /* Link Text */			
    #list a { 
        font-family: cursive;
        color:orange;
    }		

    /* Free Text */
    #list div { 
        font-size: 20px;
        font-family: monospace;
        color:red;
    }

Note that by changing the two occurrences of #list to #map the above font changes would be applied the map instead.

This example shows GeoSearch with font-modified CSS.



Previous: Basic CSS< |Next: List of Classes