home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (image_captcha.css)

This example Drupal source code file (image_captcha.css) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

160px, both, clear, float, form-item, image_captcha_admin_font_preview, image_captcha_admin_fonts_selection, img, left, middle, vertical-align, width

The image_captcha.css Drupal example source code

/* $Id: image_captcha.css,v 1.2 2009/12/15 23:55:23 soxofaan Exp $ */

/**
 * Styling of the font selection list (with previews)
 * on the Image CAPTCHA settings page.
 */

/**
 * Float the fonts with preview (with a fixed width)
 * to create a multi-column layout.
 */
.image_captcha_admin_font_preview {
  float: left;
  width: 160px;
}

/**
 * Fonts without a preview should not follow the column layout.
 */
.image_captcha_admin_fonts_selection .form-item {
  clear: both;
}

/**
 * Center the font previews vertically to the text.
 */
.image_captcha_admin_fonts_selection img {
  vertical-align: middle;
}


Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal image_captcha.css source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.