Create a field to type in name of body class I want to create a field where I can put in what will be a class on the body of the node that I'm creating.  The picture below depicts my local and live environments:



How can I do this?
Johan, if the only thing out of sync between your live and local environments are the node nids, you can do this with css like so:

/* this will target both and will work on both environments if the other nid
   does not exist in the other environment */

.node-page-1521,
.node-page-1497 {
  /* whatever CSS you need here */
}


as Drupal puts the class node-page-NID in the body of each page created for a specific node.  If the "other nid" exists in the local or live site, then you will have to get a bit fancier, but this does show that Drupal can target specific node pages.

Another way would be to use hook_preprocess_html() a custom module or theme, eg, something along the lines of:

function YOURMODULE_OR_THEME_preprocess_html(&amp;$variables) {

  if (isset($variables['node']) &amp;&amp; $variables['node']-&gt;nid == THE_NID_YOU_WANT) {
    $variables['classes_array'][]='SPECIAL_CLASS';
  }

}


Just realize the above snippet is dull ax; eg, you would probably want to do something better than just hard coding a nid in there, eg storing it in a variable specific to the machine (look into variable_get() and creating an admin form for your theme/module).

If it is something else, eg, you want to have a field that allows the user to somehow specify something special in the display about this (and other similar nodes), you can certainly do that as well above, eg, look at that field instead of the nid and then add a class if it has a certain value.