How Do I Make Hovered Links Change Font Face and Font Size? |
![]() ![]() |
How Do I Make Hovered Links Change Font Face and Font Size? |
![]()
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 81 Joined: Aug 2006 Member No: 457,109 ![]() |
How do I make my links so when I hover it, the font is bold, the font changes to times new roman, and the font size enlarges?
This is what I have now when I changed it: CODE a:link{color:midnightblue;} a:hover{color:dimgray; font size:15; font face:times new roman} a:active {color:midnightblue;} a:visited {color:midnightblue;} But, how do I make it bold? AND when I did the font face, it didn't change the font face. Something wrong? |
|
|
![]()
Post
#2
|
|
![]() sang loves hayden. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 3,373 Joined: Feb 2004 Member No: 5,687 ![]() |
Try this?
a:link{color:midnightblue;} a:hover{color:dimgray; font-size:15px; font-weight:bold; font-family:times;} a:active {color:midnightblue;} a:visited {color:midnightblue;} |
|
|
*Azarel* |
![]()
Post
#3
|
Guest ![]() |
Change the second line:
a:hover{color:dimgray; font-size:15; font-family: times new roman; font-weight: bold;} |
|
|
![]()
Post
#4
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 81 Joined: Aug 2006 Member No: 457,109 ![]() |
It's still not changing the font face of times new roman.
|
|
|
![]()
Post
#5
|
|
![]() sang loves hayden. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 3,373 Joined: Feb 2004 Member No: 5,687 ![]() |
hmm. Try this.
a:link{color:midnightblue;} a:hover{color:dimgray; font-size:15px; font-weight:bold; font-family:timesnewroman;} a:active {color:midnightblue;} a:visited {color:midnightblue;} |
|
|
![]()
Post
#6
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 81 Joined: Aug 2006 Member No: 457,109 ![]() |
Ahh. Wow. I didn't think this could be THAT complicated.
...still not working. -_- |
|
|
*This Confession* |
![]()
Post
#7
|
Guest ![]() |
theres this:
CODE {This is how all anchor points will be displayed; anchor points appear before all links.} a{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase; } a:link{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a:active{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a:visited{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a:hover{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} {”View all friends” and “invite more” link style} a.redlink{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a.redlink:link{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a.redlink:active{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a.redlink:visited{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase; } a.redlink:hover{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} {2 links in very top on the left, and the 13 links above your picture with make the navigation bar} a.navbar{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a.navbar:link{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a.navbar:active{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a.navbar:visited{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a.navbar:hover{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} {Default Links} a:link, a.man{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase; letter-spacing: 0px;} a:active{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a:visited{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a:hover{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} and this: CODE a:link, a.man:link, a.text:link, a:visited, a.man:visited, a.text:visited, a:active, a.redlink:active, a.redlink:visited, a.redlink:link, a.navbar:link, a.navbar:visited, a.navbar:active {font-family:small fonts; font-size: 7px; color: ffffff; font-weight: normal; text-decoration: underline; letter-spacing: 0px; text-transform: uppercase; padding: 0px; line-height: 11px; background-color: transparent; border: 0px solid 000000;}
a:hover, a.man:hover, a.text:hover, a.redlink:hover, a.navbar:hover {font-family:small fonts; font-size: 7px; color: ffffff; font-weight: normal; text-decoration: none; letter-spacing: 0px; text-transform: uppercase; padding: 0px; line-height: 11px; background-color: transparent;} |
|
|
![]()
Post
#8
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 81 Joined: Aug 2006 Member No: 457,109 ![]() |
The second code doesn't work. Is it like, not possible to change the text when a link is hovered?
|
|
|
![]()
Post
#9
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
Did you add style tags? And in the code Anna (Azarel . sorry if I spell it wrong. )did you replace it ? And not change font-family to font-face?
|
|
|
*Azarel* |
![]()
Post
#10
|
Guest ![]() |
Did you try the coding that I posted?
http://www.myspace.com/98121239a |
|
|
![]()
Post
#11
|
|
![]() What's my name? Janette. and ily. <3 ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,139 Joined: Apr 2006 Member No: 391,911 ![]() |
CODE a:link{color:midnightblue;} a:hover{color:dimgray; font size:15; font face:times new roman; font-weight: bold;} a:active {color:midnightblue;} a:visited {color:midnightblue;} Am I the only one who saw the missing semi-colon? |
|
|
*Azarel* |
![]()
Post
#12
|
Guest ![]() |
CODE a:link{color:midnightblue;} a:hover{color:dimgray; font size:15; font face:times new roman; font-weight: bold;} a:active {color:midnightblue;} a:visited {color:midnightblue;} Am I the only one who saw the missing semi-colon? |
|
|
![]()
Post
#13
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
^ It was at the end. Before the }. You don't always need them for the last ones. Like if its .
font-family: blah} you don't need it there. It still works. |
|
|
![]()
Post
#14
|
|
![]() What's my name? Janette. and ily. <3 ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,139 Joined: Apr 2006 Member No: 391,911 ![]() |
^Aha alright. I just learned something :]
|
|
|
![]()
Post
#15
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 81 Joined: Aug 2006 Member No: 457,109 ![]() |
So, is this correct?
CODE a:link{color:midnightblue;} a:hover{color:dimgray; font size:13; font-family:times new roman; font-weight: bold;} a:active {color:midnightblue;} a:visited {color:midnightblue;} Because, it still doesn't work. |
|
|
*Azarel* |
![]()
Post
#16
|
Guest ![]() |
^ Copy and paste this:
a:link{color:midnightblue;} a:hover{color:dimgray; font-size:15; font-family: times new roman; font-weight: bold;} a:active {color:midnightblue;} a:visited {color:midnightblue;} |
|
|
![]()
Post
#17
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 81 Joined: Aug 2006 Member No: 457,109 ![]() |
This is what I have.
CODE a:link{color:midnightblue;} a:hover{color:dimgray; font-size:13; font-family: times new roman; font-weight: bold;} a:active {color:midnightblue;} a:visited {color:midnightblue;} It's still not working. -__-` |
|
|
*Azarel* |
![]()
Post
#18
|
Guest ![]() |
Do you have style tags around that?
In your coding, it should show: <style type=text/css> a:link{color:midnightblue;} a:hover{color:dimgray; font-size:13; font-family: times new roman; font-weight: bold;} a:active {color:midnightblue;} a:visited {color:midnightblue;} </style> |
|
|
![]()
Post
#19
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 81 Joined: Aug 2006 Member No: 457,109 ![]() |
Yeah, this is what I have.
CODE <style style="filter:Glow(color=blue,strength=4);height:0px;" type="text/css">
body, td, li, p, div, textarea, li, h1, h2, p, br {color:black;} .text {color:black;} .nametext {color:black;} .blacktext10 {color:black;} .orangetext15 {color:black;} .lightbluetext8 {color:black;} .blacktext12 {color:black;} .btext {color:black;} .whitetext12 {color:black;} .redbtext {color:black;} a:link{color:midnightblue;} a:hover{color:dimgray; font-size:13; font-family: times new roman; font-weight: bold;} a:active {color:midnightblue;} a:visited {color:midnightblue;} b {color:483D8B;} u {color: midnightblue;text-decoration:underline; border-bottom:dashed 1px black;} s {color:B0C4DE;text-decoration:strikeout;} i {color: 778899;} hr {height:3;width:200;color:000000; } </style> |
|
|
*Azarel* |
![]()
Post
#20
|
Guest ![]() |
I put ONLY that coding into a myspace with no other coding and the hover effects/whatever worked..
http://www.myspace.com/98121239a |
|
|
![]()
Post
#21
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 81 Joined: Aug 2006 Member No: 457,109 ![]() |
Hmm, what section did you put it in? [About Me, Who I'd Like To Meet] & probably specifically where...?
|
|
|
*Azarel* |
![]()
Post
#22
|
Guest ![]() |
It should work anywhere in the About Me or Who I'd Like To Meet; I put it in About Me.
|
|
|
![]()
Post
#23
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 81 Joined: Aug 2006 Member No: 457,109 ![]() |
Hmm, for some reason it doesn't work in either areas. Hmm...what can you say? Heh.
|
|
|
![]() ![]() |