| Author |
Message |
spyrule
Beginner


Joined: May 03, 2005 Posts: 6
|
Posted: Sun Oct 01, 2006 1:33 pm Post subject: G2 Imageblock, image link color... |
|
|
Hello,
I have G2 integrated quiet well, all seems to work just fine,
I'm just wondering if their is a way to remove the "link" color outline
around images that appear when using the "block-G2_ImageBlock.php"
file.
the thing I'm referring to is if you go to www.arkhangelos.net
and look at the centered image bar near the bottom, The "blue"
outline around each image. How do I remove this?
Thanks in advance,
Spyrule.
----
www.arkhangelos.net (image bar at bottom) |
|
| Back to top |
|
|
AdBot
|
| Post subject: G2 Imageblock, image link color... |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Tue Oct 03, 2006 6:37 am Post subject: Re: G2 Imageblock, image link color... |
|
|
heh, oddly enough, it only shows in IE, not firefox. and i don't see the css import for g2 anywhere in the source. i'll have to take a look at this. _________________
 |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Tue Oct 03, 2006 6:44 am Post subject: Re: G2 Imageblock, image link color... |
|
|
try removing the "itemframe" portion from the "getimageblock" call and see if that fixes it. _________________
 |
|
| Back to top |
|
|
oldgrunt
Beginner


Joined: Jan 01, 2007 Posts: 3
|
Posted: Sat Jan 06, 2007 7:13 pm Post subject: Re: G2 Imageblock, image link color... |
|
|
| Nope - that doesn't do it. It's the "border" attribute of the img tag that's causing this but I can't figure out where to disable it. |
|
| Back to top |
|
|
StarScream159
Wizard


Joined: Apr 08, 2006 Posts: 120
|
Posted: Tue Jan 09, 2007 3:37 am Post subject: Re: G2 Imageblock, image link color... |
|
|
| Yea. In IE it looks horrible. I have this on my site too. The imageblock is getting the frame from the gallery2 "image block" call. I tried to change the image border/frame border, etc to none in the call in the code but it didn't change anything. |
|
| Back to top |
|
|
KontYentE
Beginner


Joined: Aug 18, 2007 Posts: 4
|
Posted: Fri Jan 11, 2008 1:56 pm Post subject: Re: G2 Imageblock, image link color... |
|
|
easy...... well. lets think a little. Lets return to 1995 where no PHP and XHTML existed.
add to g2_imageblock.php and to g2_sidebarblock.php at the biginning befor the <?php>
----------------------------------------------------------------------
<head>
<link href="/style.css" rel="stylesheet" type="text/css"/>
</head>
-----------------------------------------------------------------------
and create a file style.css on your website root with just this:
-----------------------------------------------------------------------
img
{ border-style: none;
}
------------------------------------------------------------------------
Thats it... so easy... hope some one says something. I've tryed and it worked
peace. |
|
| Back to top |
|
|
|
|
|
|
|