Having an issue having some domain names lining up nicely in a 3 column setup, I have been trying this for a bit now with no success, I'm a newbie at this. The code is as followed
TPL file
<div>
<p class="center">{foreach key=num item=listtld from=$tldslist}
<input type="checkbox" name="tlds[]" value="{$listtld}"{if in_array($listtld,$tlds)} checked{/if}>
{$listtld}
{if $num % 5 == 0}
{/if}{/foreach}</p>
</div>
and for the CSS
.center {
text-align: center;
and
p {
}
What am I missing here? Or how would I achieve this and have it look good on a mobile device other than all bunched up together like a snowball? Thanks
(And I'm sure you all know this already but the is in a lot of things so I guess I would need to create a different css thing. Sorry, please excuse my ignorance. I'm new to this)