Latest News: (loading..)
Sign in to follow this  
Followers 0

Ditch pixel_trans.gif

1 post in this topic

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.



Share this post

Link to post
Share on other sites
Sign in to follow this  
Followers 0