---
title: Take-away photo and image positioning CSS styles for blogs -- idea for a plugin
date: 2008-01-28T04:26:22+00:00
modified: 2013-09-10T10:55:05+00:00
image:: https://kaspars.net/wp-content/uploads/2008/01/illustration-css-take-away-wordpress-plugin.png
permalink: https://kaspars.net/blog/take-away-photo-and-image-positioning-css-styles-for-blogs-idea-for-a-plugin
post_type: post
author:
  name: Kaspars
  avatar: https://reverse.kaspars.net/gravatar/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?s=96&d=mm&r=g
post_tag:
  - CSS
category:
  - WordPress
---

# Take-away photo and image positioning CSS styles for blogs — idea for a plugin

![Illustration: CSS Take-Away WordPress plugin](https://kaspars.net/wp-content/uploads/2008/01/illustration-css-take-away-wordpress-plugin.png) After reading Kim’s [comment](https://kaspars.net/blog/sidenotes/73-say-hello-to-morning-racer/#comment-385 "Comment from Kim Lindberg regarding the Morning Racer theme") regarding the [Morning Racer theme](https://kaspars.net/WordPressTheme/Morning-Racer "Morning Racer theme download page"), I had an idea of how to achieve a consistent image and photo placement in a WordPress blog even if you decide to change the theme.

The solution would be a plugin which would provide a “standard” set of CSS classes for styling different image (and other element) positioning.

The great thing is that you could use these CSS classnames with any theme you like as long as you have the plugin enabled. It would be also possible to specify a prefared classname *prefix* (for example, `<strong>kd</strong>-wide`, `<strong>mo</strong>-withborder-a` or `<strong>pa</strong>-image-a`) so that the plugin’s CSS doesn’t mess with the theme’s CSS. It could also contain CSS styles for lists (like the “flat” and “spaced” ones used on this blog), “important” messages, etc.

A kind of a portable image positioning thing. And you wouldn’t have to learn new CSS classnames or image layout ideas offered by different theme authors.

What do you think? Maybe you have a suggestion of other items (apart from images and lists) that you would like to have special styling.