News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

News

Started by halfflight, May 04, 2012, 11:25:24 PM

Previous topic - Next topic

halfflight

They are there for a left margin, If I remove them it doesn't change the gap only buggers up the alignment.

Thanks for the help though.

Smudger

Sir Osis of Liver


Ok, here's a better way to do it using inline CSS -



/// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo '

<div style="margin: 20px 0 20px 10px;"><span style="font-weight: bold;">On This Day:  </span>', $context['random_news_line'],'</div>

</div></div>';



The margins in margin: are top, right, bottom, left.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Advertisement: