Hi, I added Featured Article to my homepage but It got a little bugged heres a pic
the problem Is that you can scroll the page to the right :/
heres the Featured Article code I use please reply thanks!
the problem Is that you can scroll the page to the right :/
heres the Featured Article code I use please reply thanks!
Code:
//featured article
$news_content .= '
<div id="news" class="Box">
<div class="Corner-tl" style="background-image:url('.$layout_name.'/images/content/corner-tl.gif);"></div>
<div class="Corner-tr" style="background-image:url('.$layout_name.'/images/content/corner-tr.gif);"></div>
<div class="Border_1" style="background-image:url('.$layout_name.'/images/content/border-1.gif);"></div>
<div class="BorderTitleText" style="background-image:url('.$layout_name.'/images/content/title-background-green.gif);"></div>
<img class="Title" src="'.$layout_name.'/images/header/headline-featuredarticle.gif" alt="Contentbox headline" />
<div class="Border_2">
<div class="Border_3">
<div class="BoxContent" style="background-image:url('.$layout_name.'/images/content/scroll.gif);">
<div style="position: relative; top: 0.5px; right: -596px; margin-bottom: -70px;" > <img src="'.$layout_name.'/images/news/features.jpg" width=150 height=100 border=0 alt="" /></div>
<div id=\'TeaserText\'>
<div style="position: relative; top: -35px; margin-bottom: 2px;" >
<b>A Visit to Venore</b>
</div>
<div style="position: relative; top: -48px; margin-bottom: 2px;" ><br/>
We invite you to a journey to Venore, a wealthy city ruled by powerful merchants. Want to</ul><br /> learn more? Reach for the Venore City Guide, recommended by Amaro de Quester, brave</ul><br /> adventurer. (<i>Tibia City Guide writers do not accept payments in exchange for positive coverage of</ul><br /> any sort.</i>)<br/></div>
</div>
</div>
</div>
</div>
<div class="Border_1" style="background-image: url('.$layout_name.'/images/content/border-1.gif);"></div>
<div class="CornerWrapper-b"><div class="Corner-bl" style="background-image: url('.$layout_name.'/images/content/corner-bl.gif);"></div></div>
<div class="CornerWrapper-b"><div class="Corner-br" style="background-image: url('.$layout_name.'/images/content/corner-br.gif);"></div></div>
</div>