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

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:

 <p>

 

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.

 

rj

Share this post


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