Reposted from http://groups.drupal.org/node/3264 'cause I should have put it here instead
Hi,
I'm very new to Drupal, wasted a week with Joomla before the poor template adaptability to skill ratio got me (all those annoying tables). Have been learning CSS mainly through playing with CSS Zen Garden, though my page is still going through iterations before I get it to do what I want without being able to create different style sheets to compensate for the quirks of different browsers.
Anyway what I want to do is similar to having the extradivs in CSSZenGarden.
So far I've added
- image divs to style.css
with position: absolute;
and width and height 100%;
- regions to template.php
so I can add and assign the images as html within the blocks, which means I can assign them to different pages etc
- and extra divs to page.tpl.php just inside the tags
the problem is the html it spits out is
<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="block block-<?php print $block->module ?>"> <div class="blockinner">
<h2 class="title"> <?php print $block->subject; ?> </h2>
<div class="content">
<?php print $block->content; ?>
</div>
</div>
</div>
the img is nested all these extra divs and so is not absolutely positionable floating anywhere over or under the text.