Div wrapper for the body of a node?

public
arkepp@drupal.org - Thu, 2008-06-05 02:04

I apologize in advance if this is documented, but I was not able to find anything while searching. I use Drupal 5.7 and every field output by CCK appears to be wrapped by a div with sensible classes, except the body field. I believe I need a div around the body of the node to properly align the text relative to other fields. I thought I would be able to fix this in function content_view() in content.module, but apparently not(?). Can anyone point me in the right direction?

You can use as

romand@drupal.org's picture
romand@drupal.org - Thu, 2008-06-05 08:41

You can use as wrapper:

.node [.node-type] [.content] {
position:relative;
...
...
}