Jump to content


Ditch pixel_trans.gif

  • Please log in to reply
No replies to this topic

#1   rrrhythm

  • Members
  • 187 posts
  • Real Name:R.J. Perz-Edwards

Posted 23 August 2007 - 01:50

In working on my shop I noticed that the code is full of this:

<?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?>

This could easily be replaced with the simpler:

That would give approximately the same amount of white space, but has the advantage of being fluid. If someone is sight impaired (or even just over 40) and they increase the font size, then the whitespace will also increase accordingly, which if you think about it, is how it should really be.