Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: NIAB - lokakuu 19, 2013, 05:36:34 AP

Otsikko: BoardIndex.Template
Kirjoitti: NIAB - lokakuu 19, 2013, 05:36:34 AP
How do I remove the unwanted spacing/border between td's ?



Cannot find it within the CSS doc
Otsikko: Re: BoardIndex.Template
Kirjoitti: emanuele - lokakuu 19, 2013, 09:57:42 AP
It depends on the theme.
Most of the current browsers have tools to inspect the html of the page and find out from where styles come from. ;) (Right click and "inspect element" or similar.)
Otsikko: Re: BoardIndex.Template
Kirjoitti: Diego Andrés - lokakuu 19, 2013, 10:43:26 AP
Search in index.css:
table
{
empty-cells: show;
}


Replace with:
table
{
border-collapse: separate;
border-spacing: 0px;
empty-cells: show;
}




For MessageIndex you may search these and remove the borders (if they have)
.table_frame .table_list td.icon, .table_frame .table_list td.info, .table_frame .table_list td.stats


table.table_grid td

Regards
Otsikko: Re: BoardIndex.Template
Kirjoitti: NIAB - lokakuu 19, 2013, 02:59:26 IP
Cheers Mate