What style shhet do I edit?

I am new to Drupal, but catchin on rapidly. I am liking it. One area I am somewhat totally new too is CSS. I will dive in later, for the tme I can modify style code to get by. My question: which style sheet do I edit? All I want to do is center content in the block region. I am using the Garland theme. I opened it in Mozilla with developers tools installed. When I select the header reagion to edit I get 2 style sheets as targets:

Impact of the inclusion of PDO in D7 on module development (from a stylistic perspective)?

In your opinion, what changes in coding methods do you think will occur in light of the "Next Generation" of the Drupal DB layer in D7 (wrapped around PDO)?

The PDO library seems to be very "class oriented", and it allows the new DB API to be programmed in much more of an object-based manner than the old API.
For instance, we now have constructs like this:

  $result = db_query("SELECT id, title FROM {example_table}", array(), array('fetch' => 'ExampleClass',));

The above code passes the results of that query to the constructor of class 'ExampleClass', to create an instance of that object.

I have seen some, but not very much, object-oriented code in contrib modules (usually when they are a wrapper around something else, like the smtp auth module that wraps phpmailer); since Drupal has never been considered "classically" object-oriented (though it shares some of the core concepts), it has not encouraged this sort of programming except in a few specific ways (like the $node object, which IMO is just an easy way to serialize and make it easier to pass the node around - there are no methods, etc...).

Do you think we'll find that newer D7 contrib modules take advantage of this functionality, which IMO has not up to this point been part of "The Drupal Way"?

2 Day Drupal workshop at my Unic

Hello everyone,

I am planning to do a 2 day Drupal workshop at my Univ (www.svnit.ac.in). I have done various workshops on different technologies but never on drupal..so if anyone has done any and would be so kind as to give me some tips/talking points and/or a presentation, that wud be really great..

As for me, I am the Sun Campus Ambassador to my college and this tech demo will come under Gyaan, a India wide initiative by Sun.
Regards,
Sandip

removed

post removed

Problem installing Adsense on a Drupal Site

I am having trouble with installing adsense on my Drupal site. I've created the blocks where I want them, inserted the adsense code, and I see the ad space, but the ads are not being displayed. This has been the problem for 3 days now and I am sure Google has crawled my site.

Help please. Is this the right forum to ask such questions?

Thanks.
Alex

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x