![]() |
| Home | Demo | Services | Features | Help | User Forum | Blog | About | |
|
#1
|
|||
|
|||
|
I am redesigning my website and wanted to have the links on my menu bar change colors like the links on the statcounters homepage when you put your mouse on them. the problem is that i really don't know much about web design and don't know how it's done. can someone help?
thanks!!
__________________
TheBettorGuide.com is your only source for The Bettor's Guide to Sports Investing. SportsInvestingGuide.com advocates responsible sports betting and is the source for sports betting information and articles. |
|
#2
|
|||
|
|||
|
3 ways to do it.
1 is to change each links seperately which is messy but let me know and I will explain 2 Run this from an external css file. This may be for the future if you want to experiment with running all look and feel by css 3 Put some code before the closing head tag </head> Here is an example <style type="text/css"> <style> a:link { color: blue; font-family: "Andale Mono", Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none; font-size:medium; font-weight:bold; font-style:italic; } a:visited { color: green; font-family: "Andale Mono", Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none } a:hover { color: #000000; font-family: "Andale Mono", Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: underline } </style> If you look through this, the first part is when eg a:hover, The next is the colour eg red or hex number, The next is font type, Text-decoration:none means do not show the underline, Font-size explains itself Font-weight can be left out or bold for example, Font-style can be left out or something like italic |
|
#3
|
|||
|
|||
|
Thanks for the code. i will try it. can you also explain how to do it seperately. that way i know 2 ways of doing it.
thanks again!
__________________
TheBettorGuide.com is your only source for The Bettor's Guide to Sports Investing. SportsInvestingGuide.com advocates responsible sports betting and is the source for sports betting information and articles. |
|
#4
|
|||
|
|||
|
Try this code between the <body> </body tags>
<a href="http://www.domain.net"><font color="#FF0000" size="5" face="Verdana, Arial, Helvetica, sans-serif ">dfddghdghd </font></a></p> Your Link </p> dhgdthhthrrh </p> The </p> are just paragraphs and are not needed for the actual link To get you started here is a nice list of code to get you started and building. Also check out the tips. http://www.web-source.net/html_codes_chart.htm |
|
#5
|
|||
|
|||
|
i tried adding the code between the head tags. only 2 of the links on my menu bar actually become underlined when you put your mouse on them....the others are the same as before. and if you look at it with firefox, nothing is different. i probably did something wrong. i don't understand code to well, but i'm learning. could you check it out to see what i messed up. the page is http://sportsinvestingguide.com/new_page_2.htm.
many thanks!
__________________
TheBettorGuide.com is your only source for The Bettor's Guide to Sports Investing. SportsInvestingGuide.com advocates responsible sports betting and is the source for sports betting information and articles. |
|
#6
|
|||
|
|||
|
That page is down at the minute.
|
|
#7
|
|||
|
|||
|
hmm....don't know why it was done, but it's working now.
__________________
TheBettorGuide.com is your only source for The Bettor's Guide to Sports Investing. SportsInvestingGuide.com advocates responsible sports betting and is the source for sports betting information and articles. |
|
#8
|
|||
|
|||
|
Hi,
The link should be http://www.sportsinvestingguide.com/new_page_2.htm Change the A;hover line to a:hover {color: #FFFFFF; font-family: verdana; text-decoration: none } Put this in the table <td width="100%" bgcolor="#5394AC"> <p align="center">Home | Blog | Sports Investing? | </font>[/b] <a href="http://sportsinvestingguide.com/thebettorsguide.htm"><font face="Verdana" size="1" color="#FFFFFF">SIG Gambling Guide</font></a><font face="Verdana" size="1" color="#800000"> </font><font face="Verdana" size="1" color="#DADADA"> | </font><a href="http://sportsinvestingguide.com/fantasy2.htm"><font face="Verdana" size="1" color="#FFFFFF">Fantasy Sports</font></a><font face="Verdana" size="1" color="#800000"> </font><font face="Verdana" size="1" color="#DADADA"> | </font><a href="http://www.sportsinvestingguide.com/links/ThemeIndex.html"><font face="Verdana" size="1" color="#FFFFFF">Gambling Directory</font></a><font face="Verdana" size="1" color="#FFFFFF"> </font><font face="Verdana" size="1" color="#DADADA">|</font><font face="Verdana" size="1" color="#000000">& </font><a href="http://sportsinvestingguide.com/affiliate2.htm"><font face="Verdana" size="1" color="#FFFFFF">Affiliate Program</font></a><font face="Verdana" size="1" color="#800000"> </font><font face="Verdana" size="1" color="#DADADA"> | </font><font face="Verdana" size="1" color="#FFFFFF">Webmasters</font><font face="Verdana" size="1" color="#800000"> </font><font face="Verdana" size="1" color="#DADADA"> | </font><font face="Verdana" size="1" color="#FFFFFF">Contact</font><font face="Verdana" size="1" color="#800000"> </font><font face="Verdana" size="1" color="#DADADA"> |</font> </td> I have only done the first 3. The text size changes, the colour changes and the line goes. Go back to the A:hover at the top. The white font is because you asked for #ffffff which is white. take out the #ffffff and type in red. This will change the mouse over to a red font. I have changed the hover to decoration none which means the ilne goes on hover. You can change the font by saying font size 12. Have a go at this first and let me know when you have got it or need more help. |
|
#9
|
|||
|
|||
|
Thanks a lot!!! i will try this when i get a chance a little later tonite.
__________________
TheBettorGuide.com is your only source for The Bettor's Guide to Sports Investing. SportsInvestingGuide.com advocates responsible sports betting and is the source for sports betting information and articles. |
|
#10
|
|||
|
|||
|
ok i re-did and added the code, but i must have done something wrong. i want the link to only be underlined when the mouse hovers over it. if you look at the site with firefox the links are underlined and blue. they turn white when the mouse hovers. take a look in IE and every thing is the same except for some reason the 2nd and 3rd links are white.
what did i mess up this time? thank you for being so patient with me!!
__________________
TheBettorGuide.com is your only source for The Bettor's Guide to Sports Investing. SportsInvestingGuide.com advocates responsible sports betting and is the source for sports betting information and articles. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|