MyBB Community Forums
simple html code - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: simple html code (/thread-94504.html)



simple html code - ediksa - 2011-05-17

i had to display two images in one line
this is the code i did

<div class="mads"><a href="http://www.clickite.com/index.php?ref=ediksa"><img src="http://clickite.com/banners/banner1.png" border=0></a><a href="http://www.clickite.com/index.php?ref=ediksa"><img src="http://clickite.com/banners/banner1.png" border=0></a></div>

css file
.mads
{
display: inline;
}
displaying in two lineSad

guide meSmile


RE: simple html code - faviouz - 2011-05-17

Where are you using that code? URL to your forum?

That works if you use it in a plain HTML file, you don't even need the CSS. Maybe the two images are wider than your forum, I'm not sure.