Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Dinagyang - kesäkuu 15, 2006, 07:02:00 IP

Otsikko: adding adsense in messageindex.template
Kirjoitti: Dinagyang - kesäkuu 15, 2006, 07:02:00 IP
I'm using the themis template and I'm adding it just above the following line:

// If Quick Moderation is enabled (and set to checkboxes - 1) start the form.

If works fine but the black border around the message index disappears when I add the hack.



/////////////// Ad Hack Begins! /////////////////////
echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" style="border-top: solid 1px #a0a0a0; border-bottom: solid 1px #a0a0a0; margin-bottom: 1ex;">
                </table>';
///////// hack


How do I fix this?
Otsikko: Re: adding adsense in messageindex.template
Kirjoitti: Deaks - kesäkuu 15, 2006, 07:04:22 IP
remove border="0" should help
Otsikko: Re: adding adsense in messageindex.template
Kirjoitti: Dinagyang - kesäkuu 15, 2006, 07:50:26 IP
did i'm not talking about this table. it's fine. it's the one below it containing the topic summary.
Otsikko: Re: adding adsense in messageindex.template
Kirjoitti: bloc - kesäkuu 16, 2006, 04:56:44 AP
If you set the table to 98% in width..does that help?