MyBB Community Forums
How to make a Header Image fit to screen in MyBB - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: How to make a Header Image fit to screen in MyBB (/thread-120160.html)



How to make a Header Image fit to screen in MyBB - Starnova - 2012-06-08

I tried this code... but it made the entire forum center so I reverted the template until I can find what I did wrong..

<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="Your_Banner.jpg" width=100% height=220 alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>

Caught the error myself ... Blush