« Create link hierarchies in Drupal 6 | Main | Enable clean URLs in Drupal 6 »

October 06, 2009

Adding image css to style.css in Drupal 6

Open the style.css sheet for your active theme:

$ sudo gedit /etc/drupal/6/sites/default/files/color/garland-11f64863/style.css

Add the following to the bottom of the style sheet:

.align-right { float:right; margin: 0 0 15px 15px; }
.align-left { float:left; margin: 0 15px 15px 0; }
.frame { padding: 5px; border: 1px solid #aaa; }

Code taken from here.

And this is what the Education page looks like now:

leaf graphic

Posted by kkwaiser at October 6, 2009 11:31 AM

Comments

Login to leave a comment. Create a new account.