This topic is locked

Need help reducing white space

12/2/2008 3:09:06 PM
ASPRunnerPro General questions
author

I need to minimize the white space around this table. I'm using it as an include file and I can't seem to strip out the extra code without killing it. It will work as is, but it would be nice to have a tight little table. Thanks.
[codebox]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD><TITLE>Links</TITLE>

<META http-equiv=Content-Type content="text/html; charset=windows-1252"><LINK

href="include/style.css" type=text/css rel=stylesheet>

<META content="MSHTML 6.00.6000.16735" name=GENERATOR></HEAD>

<BODY bgColor=white topMargin=0 style="text-align: left">

<FORM name=frmSearch action=v_links_list.asp method=get><input type="Hidden" name="a" value="search"><input type="Hidden" name="value" value="1"><input type="Hidden" name="SearchFor" value=""><input type="Hidden" name="SearchOption" value=""><input type="Hidden" name="SearchField" value=""></FORM>

<p style="margin-top: 0; margin-bottom: 0">&nbsp;{if $display_grid} </p>

<FORM name=frmAdmin action=v_links_list.asp method=post>

<TABLE

style="BORDER-RIGHT: #c0c0c0 1px solid; BORDER-TOP: #c0c0c0 1px solid; BORDER-LEFT: #c0c0c0 1px solid; BORDER-BOTTOM: #c0c0c0 1px solid" cellPadding=3 width="195" border=0><!-- table header -->

<TBODY>

<TR class=blackshade vAlign=top><!--{if $column1show}-->

<TD>

<TABLE>

<TBODY>

<TR>

<TD class=blackshade>

<p style="margin-top: 0; margin-bottom: 0">

<A class=blackshade

href="v_links_list.asp?orderby={$order_dir_Link}Link">Link</A> </TD>

<TD>

<p style="margin-top: 0; margin-bottom: 0">{$order_image_Link}</TD>

</TR>

</TBODY>

</TABLE></TD><!--{/if}-->

</TR><!-- table data --><!--{foreach from=$rowinfo item=row}-->

<TR onmouseover="this.className = 'rowselected';"

onmouseout="this.className = '{$row.shadeclassname}';" vAlign=top

{$row.shadeclass} {$row.rowstyle}>

<TD {$row.1Link_style}>

<p align="left" style="margin-top: 0; margin-bottom: 0">{$row.1Link_value}&nbsp;

</TD><!--{/foreach}-->

</TR>

</TBODY>

</TABLE><input type=hidden id="a" name="a" value="delete">

</FORM>

<p style="margin-top: 0; margin-bottom: 0">{/if}&nbsp; <!-- display_grid -->

</p>

<P style="margin-top: 0; margin-bottom: 0">&nbsp;</P>

<P align=center style="margin-top: 0; margin-bottom: 0"><B>{$message}</B></P>

<p style="margin-top: 0; margin-bottom: 0">{if $maxpages>1}&nbsp;{/if}&nbsp;

{$linkdata}</p>
</BODY></HTML>[/codebox]

501337 12/2/2008

NEVERMIND!!!! I just got rid of the <p></p> tags and all is well.