I'm using the Banner module which generates the following HTML:
Code: Select all
<hr class="accessibility" />
<div id="banner">
<!-- Begin Banner Output -->
<a href="http://www.sampleweb.ch/index.php?mact=Banners,cntnt01,link,0&cntnt01banner_id=11&cntnt01category_id=1&cntnt01returnid=15" Homepage >
<img src="uploads/banners/banner_bellewald_1280.jpg" height="200" alt="Homepage " />
</a>
<!-- End Banner Output -->
</div>
For aesthetic reasons the banner image should be right aligned so in case the page (browser window) gets smaller the right part of the image remains visible while it gets truncated at the left side. Therefore I applied this CSS styling:
Code: Select all
div#banner {
overflow: hidden;
}
div#banner img {
float: right;
}
I tried different approaches to find a solution, using additional 's and various combinations of CSS styles - you know, the way it is to find out CSS behaviour. But no success!
I'd appreciate any kind of support to help me with this.
Regards
Ernst