InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


Why Load an IMG when would be... Expand / Collapse
Author
Message
Posted 05/02/2004 12:15:00


Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 05/02/2004 12:20:00
Posts: 17, Visits: 1

Throughout the code in InstantForum v3.2 the following HTML is used for the footer of various tables...

<TABLE cellSpacing=0 cellPadding=0 width="100%">
  <TR>
    <TD class=GroupFooter>
      <FONT size=1>
        <IMG height=1 src="http://support.instantasp.co.uk/forum/images/spacer.gif" width=1>
      </FONT>

    </TD>
  </TR>
</TABLE>

Why not just do this?...

<TABLE cellSpacing=0 cellPadding=0 width="100%">
  <TR>
    <TD class=GroupFooter></TD>
  </TR>
</TABLE>

It seems to do the same thing and does not require an image load nor a FONT tag. 



-=AcR=-


"No matter how hard you try to teach your cat general relativity, you’re going to fail." - Brian Greene
http://www.pbs.org/wgbh/nova/elegant/
Post #1744
Posted 05/02/2004 12:25:00


IF.NET 4.2 Coming Soon

IF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming Soon

Group: Administrators
Last Login: Yesterday @ 16:29:04
Posts: 1,956, Visits: 3,018

Hi Anthony,

Thank you for your post. Your gonna kick yourself with this one

The only reason i'm using the image tag within the footer of each table is to ensure older browsers such as NN 4.7 actually render a small 1 pixel high table cell. If i don't include the image and no content exists within the table cell netscape will simply not render the table. There maybe a few areas where you ask yourself "Why?" - please do post them and if i don't have valid reason it will be removed. It's great to get this kinda feedback and greatly appreciated having an extra pair of eyes looking over the code - much appreciated




Kindest Regards,

Ryan Healey
Director / Developer

Explore our products...
http://demos.instantasp.co.uk/

Post #1745
Posted 05/02/2004 12:39:00


Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 05/02/2004 12:20:00
Posts: 17, Visits: 1

Ahh.  Yes, you are correct.

IE is the standard in my work environment, thus I don't do a lot of cross-browser coding.  Thanks for the reminder. 



-=AcR=-


"No matter how hard you try to teach your cat general relativity, you’re going to fail." - Brian Greene
http://www.pbs.org/wgbh/nova/elegant/
Post #1746
Posted 05/02/2004 12:42:00


IF.NET 4.2 Coming Soon

IF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming Soon

Group: Administrators
Last Login: Yesterday @ 16:29:04
Posts: 1,956, Visits: 3,018

No problem - It took me a while to start using "the others" i'm strictly a IE fan




Kindest Regards,

Ryan Healey
Director / Developer

Explore our products...
http://demos.instantasp.co.uk/

Post #1747
« Prev Topic | Next Topic »

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, Bare, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 3:29pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 10 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.