<div class="node-meta clearfix">
<?php print render($title_prefix); ?>
<?php if (!$page): ?>
<h2<?php print $title_attributes; ?> class="node-title left"><table><tr><td><a href="<?php print $node_url; ?>"><?php print $title; ?></a></td><td><?php print $user_picture; ?></td></tr><tr><td></td><td><font size="2"><span class="submitted node-info right"><?php if ($display_submitted): ?><?php print $submitted; ?><?php endif; ?></span></font></td></tr></table></h2>
<?php endif; ?>
<?php print render($title_suffix); ?>
</div><!--/node-meta-->
<div class="node-box clearfix">
<?php if (module_exists('comment') && $node->comment) { ?>
<h2 class="comments-header"><?php print $node->comment_count ?> <?php print t('Comments'); ?></h2>
<?php } ?>
<div class="node-content clearfix"<?php print $content_attributes; ?>>
<?php
// We hide the comments and links now so that we can render them later.
hide($content['comments']);
hide($content['links']);
print render($content);
?>
</div><!--/node-content-->
<center> <?php if (!empty($content['links'])): ?></center>
<div class="node-footer clearfix">
<div class="meta">
<div class="links">
<?php print render($content['links']); ?>
</div>
</div><!--/meta-->
</div><!--/node-footer-->
<?php endif; ?>
</div><!--/node-box-->
</div>
<?php if ($content['comments']): ?>
<?php print render($content['comments']); ?>
<?php endif; ?>
Не получается центрировать((( Получилось только центрировать всю ноду полностью, что не нужно и выглядит убогенько.
Комментарии