| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
What is the point of.......? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() What is the point of script below within the /rectangle_bottom.tpl
Code:
|
|||||||
#2
|
|||||||||
|
|||||||||
![]() Quote:
I was wondering the exact same thing, it looks like redundant code left in there. I deleted it, it does nothing other than get in the way of your layout. |
|||||||||
#3
|
|||||||
|
|||||||
![]() This code was probably written to be cross-browser compatible. Netscape 4.0 doesn't recognize the TD tag setting where height=100%. It might just be for cosmetic looks where the cell expands all the way to the bottom to match the sides (in case your side panels extend really long), and the reason it's set to show when you have Explorer is because Explorer obeys this attribute.
The reason for the spacer.gif in both is because you want that there (or a non-breaking space if the height is needed to be greater than 1 px) so that the cell doesn't collapse. With Netscape browsers (and just for good coding practices), you should never have an empty cell. |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Good thing netscape 4 is virtually extinct these day
![]()
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|