Applying css on google map api

hey folks,
i m working on google api classes php file and i can’t figure out how to style it with my class. coz the code of function where the div get its id from is like this

<?php
    function getMap() {
        $_output = '<script type="text/javascript" charset="utf-8">' . "\
" . '//<![CDATA[' . "\
";
        $_output .= 'if (GBrowserIsCompatible()) {' . "\
";
        if(strlen($this->width) > 0 && strlen($this->height) > 0) {
            $_output .= sprintf('document.write(\\'<div id="%s" align="left" style="width: %s; height: %s"><\\/div>\\');',$this->map_id,$this->width,$this->height) . "\
";
        } else {
            $_output .= sprintf('document.write(\\'<div id="%s"><\\/div>\\');',$this->map_id) . "\
";     
        }
        $_output .= '}';

        if(!empty($this->js_alert)) {
            $_output .= ' else {' . "\
";
            $_output .= sprintf('document.write(\\'%s\\');', str_replace('/','\\/',$this->js_alert)) . "\
";
            $_output .= '}' . "\
";
        }

        $_output .= '//]]>' . "\
" . '</script>' . "\
";

        if(!empty($this->js_alert)) {
            $_output .= '<noscript>' . $this->js_alert . '</noscript>' . "\
";
        }

        return $_output;
    }

    
    /**
     * print sidebar (put at location sidebar will appear)
     * 
     */
    function printSidebar() {
        echo $this->getSidebar();
    }    
    function getSidebar() {
      [B]  return sprintf('<div id="%s"></div>',$this->sidebar_id) . "\
";[/B]

can anyone tell me how to apply my css?

Most of the Gmaps styling goes on in the DOM, and as such you are best off using a DOM inspector as you would find in Firefox or Chrome Developer tools add-ins.

If you want to try and influence the actual colors and styles on the map you could look at styling Gmaps which might put you in the right direction.

Overall though the best place to ask is on the Google Maps Google Groups.