Border around images using small style sheet change only.

paulm2003 <[email protected]> 28 Aug 2003 11:53:53 -0000
Newsgroups gmane.comp.web.oscommerce.tips
Message-ID <a421712ab17c2aefa99908bf1f12745e@osCommerce-Forums>
This message was sent from: Tips and Tricks
http://forums.oscommerce.com/viewtopic.php?p=220879#220879
----------------------------------------------------------------

No PHP code change  needed!
Simply add the quoted css code to /catalog/stylesheet.css

This gives borders in productlisting images only:
[quote]table.infoBoxContents td.smalltext img {border: 4px #09f groove;}[/quote]

example (the borders don't seem to fit the images because these images have already two (left and right) large white borders themselves) at:
http://www.televisiedokter.nl/catalog/index.php?cPath=3 (only temporary available for testing)


or some more borders like this (i.s.o. the line above):
[quote]td.smalltext img {border: 4px #09f groove;}
[/quote]

If you want to test/try all (?) CSS borders very fast and easy:
http://artlung.com/lab/css/border-style/

hope this is usefull to anyone (or is this to simple?)  :?: