From: SourceForge.net <no...@so...> - 2003-08-01 19:14:11
|
Support Requests item #779969, was opened at 2003-07-29 21:34 Message generated for change (Comment added) made by adarkling You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=563509&aid=779969&group_id=81360 Category: Module: article Group: Second Level Support Status: Open Resolution: None Priority: 6 Submitted By: George Brackett (gbrackett) Assigned to: Eloi George (adarkling) Summary: Module Article: turn off borders on graphic links Initial Comment: I get borders on article graphics that are clickable links. I think it would be far better if the borders were turned off. I can always add a border graphically if I want one. ---------------------------------------------------------------------- >Comment By: Eloi George (adarkling) Date: 2003-08-01 15:14 Message: Logged In: YES user_id=619893 Thanks for the suggestion! I'd been back and forth on this when I first coded the module. Eventually I decided to leave the border tag off because that way it can be specified in the templates' STYLE.CSS file instead. The css code would be something like: a:link img{ border : none } I'm not a css guru, so forgive me if this code is wrong. ---------------------------------------------------------------------- Comment By: George Brackett (gbrackett) Date: 2003-07-30 09:22 Message: Logged In: YES user_id=398373 Just for the heck of it, I eliminated the borders on clickable images with a very simple change to line 128 of Section.php in the function view_section(): $image_string = '<img src="' . $temp_image . '" width="' . $this->image['width'] . '" height="' . $this->image['height'] . '" alt="' . $this->image['alt'] . '" title="' . $this->image['alt'] . '" border="0" />'; The only difference is the added border="0" near the end. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=563509&aid=779969&group_id=81360 |