/    Sign up×
Community /Pin to ProfileBookmark

MAJORLY stumped here

hello people…

i’m a bit stumped on this one…not to bright on stylesheets i guess lol.

i’m having this issue right now with hovers. please take a look at the site i’ve done… [url]www.roxcap.com[/url]

the headers “INVESTEMENT STRATEGIES…MUTUAL FUNDS…ROXBURY LIBRARY” have the same hover style as the hovers on the text below it.

the text below it in the green section are correct…it hovers to a red color with the correct font. but the hover for the 3 headers shouldn’t be that way.

right now on my stylesheet i have this…

.textbody {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
color: #373636;
text-decoration: none;
}
TD A:hover {
font-size: 11px;
font-family: Arial, Helvetica, sans-serif;
color: #ff0000;
line-height: normal;
font-weight: normal;
text-decoration: none;
text-transform: none;
}
.bartitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: uppercase;
color: #FFFFFF;
text-decoration: none;
}

the textbody style is for the text in the green section and the bartitle style is for the 3 headers. There’s the TD A:hover and that’s correct but do i need another TD hover in the stylesheet for the 3 headers?

sorry if this is confusing…i think i’m confused just reading what i just wrote! lol

please help if you can…thank you!!!

drew

to post a comment
CSS

8 Comments(s)

Copy linkTweet thisAlerts:
@gYnophObiaJun 08.2006 — wooo tables x_ x... eh im kinda new but ill try and help...

umm.. lets see... k theres no capitals right? ... TD A:hover should be td a:hover no? ... and also.. i think td a:hover means that every hyperlink in a cell is gonna have the hover attribute.. so i think you gotta do td.blah a:hover and make the hover links have the class="blah" no?

correct me if im wrong anyone ^ ^; ....
Copy linkTweet thisAlerts:
@drew68authorJun 09.2006 — let me try that...and thanks!! ? ill get back to you
Copy linkTweet thisAlerts:
@drew68authorJun 09.2006 — <a href="Investment_Strategies/balanced.html" class="bartitle">Investment

Strategies</a> </div></td>

that is on the index_test.html page right now and it's actually calling for the 'bartitle' styles.

in the style sheet i placed this in there....

TD.bartitle A:hover {

font-family: Arial, Helvetica, sans-serif;

font-size: 11px;

font-style: normal;

line-height: normal;

font-weight: bold;

font-variant: normal;

text-transform: uppercase;

color: #FFFFFF;

text-decoration: none;

}

and it's not working still...
Copy linkTweet thisAlerts:
@gYnophObiaJun 09.2006 — eh well.. i just clicked on your site and the headers now have a different hover than the ones below... maybe its a cross browser thing? .. im using firefox.. what is it that you want the headers to do when hovered over?
Copy linkTweet thisAlerts:
@drew68authorJun 09.2006 — actually nevermind...i figured it out ?

thanks anyways guys...and gynophobia...thanks for your help!! by the way...this is what it was suppose to be....


a.bartitle{

font-family: Arial, Helvetica, sans-serif;

font-size: 11px;

font-style: normal;

line-height: normal;

font-weight: bold;

font-variant: normal;

color: #FFFFFF;

text-decoration: none;

}

a.bartitle:hover{

font-family: Arial, Helvetica, sans-serif;

font-size: 11px;

font-style: normal;

line-height: normal;

font-weight: bold;

font-variant: normal;

text-transform: uppercase;

color: #90B087;

text-decoration: none;

}



thanks!

drew
Copy linkTweet thisAlerts:
@drew68authorJun 09.2006 — eh well.. i just clicked on your site and the headers now have a different hover than the ones below... maybe its a cross browser thing? .. im using firefox.. what is it that you want the headers to do when hovered over?[/QUOTE]


well now the headers are correct...the hover should be a light green but the same size font...it was the link hovers i needed to create in there ...not TD. i'm using firefox as well and the fonts seem to be okay....arial.
Copy linkTweet thisAlerts:
@gYnophObiaJun 09.2006 — haha... cant believe i didnt notice that... oh well... mission accomplished ^ ^
Copy linkTweet thisAlerts:
@drew68authorJun 09.2006 — yea lol ...this kind of work can be so easy if we put our minds into the right place hahaa

but anyways..i appreciate you putting your 2cents into it...even as you say your new to this...it was still helpful going over it...now we both know how to do it ?
×

Success!

Help @drew68 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...