Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Realinfo - tammikuu 16, 2012, 09:01:40 AP

Otsikko: DOT before Date and Time
Kirjoitti: Realinfo - tammikuu 16, 2012, 09:01:40 AP
I changed position of Date & time................ now it's on right hand side............. but why there is a DOT(.) appearing before Date & time........... how we can remove it........... as shown in picture...........
Otsikko: Re: DOT before Date and Time
Kirjoitti: Mick. - tammikuu 16, 2012, 09:56:12 AP
Did you tried with <br />?
Otsikko: Re: DOT before Date and Time
Kirjoitti: Realinfo - tammikuu 16, 2012, 10:51:18 AP
Lainaus käyttäjältä: bluedevil - tammikuu 16, 2012, 09:56:12 AP
Did you tried with <br />?

<br /><li>', $context['current_time'], '</li><br />

this making no change in dot or anything else..............

this is in my index.template.php

<p>', $context['random_news_line'], '</p>';

echo ' <li>', $context['current_time'], '</li>

</div>
</div>
<br class="clear" />';


Otsikko: Re: DOT before Date and Time
Kirjoitti: Kays - tammikuu 16, 2012, 11:06:50 AP
Hi, you need to remove the <li>.


<p>', $context['random_news_line'], '</p>';

echo $context['current_time'], '

</div>
</div>
<br class="clear" />';
Otsikko: Re: DOT before Date and Time
Kirjoitti: Realinfo - tammikuu 16, 2012, 08:53:12 IP
Kays.......... Dot is gone, but Time and News are in one line........... there is need of one line space between News and Date/Time............ how we can make one line space............ please see the picture attached.........
Otsikko: Re: DOT before Date and Time
Kirjoitti: mashby - tammikuu 16, 2012, 08:57:06 IP
Try this out:
<p>', $context['random_news_line'], '</p><br />';

echo $context['current_time'], '

</div>
</div>
<br class="clear" />';
Otsikko: Re: DOT before Date and Time
Kirjoitti: Realinfo - tammikuu 16, 2012, 09:20:11 IP
Yes............ now ok.............thanks............