Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Link colour doesn't show in IE  (Read 3100 times)

0 Members and 1 Guest are viewing this topic.

Danaldinho

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 56
  • Lil Wayne Fan
    • Lil Wayne
Link colour doesn't show in IE
« on: November 09, 2008, 05:22:28 pm »

Hi, on a page like this on my gallery: http://www.lilwaynehq.com/cpg1419/index.php?cat=13 the links are red and when you hover over them they turn blue and this is how I wanted it, but this only works in Firefox

Here is a picture:

http://i260.photobucket.com/albums/ii10/DanielMousdell/ff-1.jpg?t=1226247678 Edit GauGau] Replaced hotlinked image with attachment ff-1.jpg as per Board rules / Forum policies: Add Attachments [/Edit]

Now in Internet Explorer, the colour doesn't seem to show as the links are black even when hovering over them. Here is a picture:

http://i260.photobucket.com/albums/ii10/DanielMousdell/ie.jpg?t=1226247702 Edit GauGau] Replaced hotlinked image with attachment ie.jpg [/Edit]

Now I have looked and I don't understand why the link colour is not showing :(

Anyone know why it isn't showing?

Also I am using the greenflower theme

Thanks alot
« Last Edit: November 10, 2008, 07:08:09 am by Joachim Müller »
Logged

Nibbler

  • Guest
Re: Link colour doesn't show in IE
« Reply #1 on: November 09, 2008, 07:41:29 pm »

Works as expected in IE6. Try clearing your cache.
Logged

Danaldinho

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 56
  • Lil Wayne Fan
    • Lil Wayne
Re: Link colour doesn't show in IE
« Reply #2 on: November 09, 2008, 11:02:47 pm »

I have just cleared my cookies and cache again and it still stays the exact same
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Link colour doesn't show in IE
« Reply #3 on: November 10, 2008, 07:17:15 am »

Works as expected in FF2 and Epiphany, doesn't work in Opera (the breadcrumb links show in red/blue, but the h2 links show in the "regular" h2 color), so I conclude that it might not work in IE neither (I don't have it available here). You didn't override the defaults - you just have specified the "regular" link color like this
Code: [Select]
a
{
        color: #DD0000;
text-decoration:none;
/* border-bottom:1px dashed;  */ /* edited for Coppermine */
}
a:link {
color:#DD0000;
}
/*
a:visited {
color:#DD0000;
}
*/
a:hover {
color:#0000FF;
/* border-bottom:1px solid;   */ /* edited for Coppermine */
}
(defined in http://www.lilwaynehq.com/cpg1419/themes/greenflower/style_wp.css). If you take a closer look at http://www.lilwaynehq.com/cpg1419/themes/greenflower/style_cpg.css you'll note that the theme designer has defined link behaviour for all sorts of classes, like
Code: [Select]
.bblink a {
        color: #8090A3;
        text-decoration: none;
}

.bblink a:hover {
        color: #0033CC;
        text-decoration: underline;
}
I suggest doing the same explicitely for links within h2 tags, so the corresponding lines you need to add at the bottom of the stylesheet would look like this:
Code: [Select]
h2 > a {
        color: red;
        text-decoration: none;
}

h2 > a:hover {
        color: blue;
        text-decoration: underline;
}
Logged

Danaldinho

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 56
  • Lil Wayne Fan
    • Lil Wayne
Re: Link colour doesn't show in IE
« Reply #4 on: November 10, 2008, 04:04:31 pm »

Yeah I get you, I will work on this now

Thanks ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 16 queries.