1 icon Sep 07, 2004 21:35
3 edb Sep 07, 2004 23:34
Yeah what a mystery! I can't actually tell you where it's getting the extra styling details but I can tell you how to control them. You will need to define all your various a.BlogButton link & hover & visited and whatever else they all are. I just was tweaking in the same thing and finally stumbled across it is how I know.
You already have a.BlogButton and a.BlogButtonCurr defined in your css? Good - add these definitions and tweak till you're happy.
a.BlogButton:link,
a.BlogButton:visited,
a.BlogButton:active,
a.BlogButtonCurr:link,
a.BlogButtonCurr:visited,
a.BlogButtonCurr:active,
a.BlogButtonCurr:hover {
background: inherit;
color: #000000;
text-decoration: none;
}
a.BlogButton:hover {
color: #FFFAFA;
background: #0000CD;
text-decoration: none;
}
Have fun!!!
4 graham Sep 07, 2004 23:37
Looks like you fixed it, but here's the answer anyway.
You were looking in the right place, you just needed to edit the background property for both of those classes.
5 icon Sep 08, 2004 00:23
Defining each bit works great. I've seen this kind of thing happen before and I still don't understand how it happens. Can CSS just start styling whatever it feels like? ;)
6 isaac Sep 08, 2004 00:39
No, CSS doesn't "feel" so it can't style "what it feels like."
Styles are applied according to the [url=http://css.maxdesign.com.au/selectutorial/index.htm]selectors[/url] used.
[url=http://www.w3schools.com/css/default.asp]Learn CSS[/url] if you want to know how it works.
7 graham Sep 08, 2004 09:35
But to be fair - remember when I was making 'London' and IE refused to inherit the css properties for the unordered lists? It styled it how it felt like then...
8 isaac Sep 09, 2004 01:17
Well, you see, CSS doesn't do what it feels like, but IE is a tempermental thing.
9 graham Sep 09, 2004 09:54
I wouldn't call it tempermental. I'd call it sh*t... Anyway, I'd best stop making this thread one big anti IE rant...
10 icon Sep 10, 2004 23:49
Isaac -- did you see the skin before I implicitly added the fix suggested in this thread?
There were no selectors styling the buttons the way they did. There were no selectors to perform a rollover for example, yet it still rendered with roll-over stylings consistently. Once I defined a rollover however, it stopped.
The IE thing though... well IE drives me crazy. But I will survive if I just keep taking my "Not so crazy" pills. :roll:
It even happened twice in IE where I went to test the page and suddenly those darned rollover stylings were applied to.. get this... only two of the buttons!
I knew there was a reason I stayed with the HTML purists for so long... :p
I'm pressed to think that maybe it's the a.link etc styles, but it doesn't quite match up. Especially the orange. :-/