I have been searching the internet and have had no luck.
I am trying to make a website with drupal and and am creating my own theme. I am trying to make the Logo image fill the whole of the header div.
I have found the php code where it writes this code, but if I make the image 100%, then the image goes to its full size, not 100% of the div. I know with html I just add style="width: 100%;" to the end, but it is not working.
This is the code I currently have:
main php file
<?php if ($logo): ?>
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo">
<img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" style= "width: 100%;"/>
</a>
<?php endif; ?>
Please note that I am a beginner to php and only vaguely know how to get around.