Link trouble

  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

I'm currently working on this project and I can't get the links in the log in spot to NOT have that roll-over hover background color/image. I've tried many things and still no go.

My CSS can be found here.

Thanks in advance.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6251
  • Loc: Seattle, WA

Post 3+ Months Ago

Get rid of the hover attributes?

Code: [ Select ]
a:active, a:hover{
    text-decoration: none;
    color: #1AC5F6 !important;
    background-image: url('../images/hack.png');
}
  1. a:active, a:hover{
  2.     text-decoration: none;
  3.     color: #1AC5F6 !important;
  4.     background-image: url('../images/hack.png');
  5. }


Code: [ Select ]
#dirbody .dirseg a:active, a:hover {
    background-image: url('../images/dseg.png');
    text-decoration: none;
    color: #1AC5F6;
}
  1. #dirbody .dirseg a:active, a:hover {
  2.     background-image: url('../images/dseg.png');
  3.     text-decoration: none;
  4.     color: #1AC5F6;
  5. }
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

:D I know about those.

I want the hover to be in the little boxes, but in the footer and the place by the log in, I don't want it. The hack.png is a regular transparent with no color assigned to it... just nothing. It doesn't actually do anything, so I might as well get rid of that one. That was my attempt at removing that roll over background image but... no go.

It also doesn't listen to the predecessor thing. The one with #dirbody .dirseg a{ ... } should over-ride a{ ... } but not completely remove a{ ... } and style the links outside of #dirbody .dirseg a{ ... }.

[EDIT:] I tried setting the class to be a class "l" and those #dirbody .dirseg a{ ... } to #dirbody .dirseg a.l{ ... } and that fixes the problem, but I know that there is a way to do this without making the links as a separate class... I've done that before, why can't I do that now?

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 35 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.