| | |
Add mouseover change color to links and background on Vbulletin?
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2008
Posts: 64
Reputation:
Solved Threads: 13
HTML and CSS Syntax (Toggle Plain Text)
a:hover { background-color: blue; color: white; }
Chris F.A. Johnson
http://cfajohnson.com
http://cfajohnson.com
•
•
Join Date: Aug 2009
Posts: 37
Reputation:
Solved Threads: 0
Thanks for the info, but where in the coding do i apply this?
external stylesheet with style.css containing amid the other styles
header styles inline styles most use external stylesheets
only one file need be altered to update the whole site
header styles, contain the full stylesheet in every page
inline styles contain the full style in every link on every page
they get exponentially bigger
each has a purpose
external stylesheet to style a site
header style to make a single page different
inline style to make a single element different
html Syntax (Toggle Plain Text)
<html> <head> <link rel="stylesheet" type="text/css" href="http://www.yoursite.com/style.css"> </head> <body> bla bla bla </body> </html>
css Syntax (Toggle Plain Text)
a:hover { background-color: blue; color: white; }
html Syntax (Toggle Plain Text)
<html> <head> <style type='text/css'> <!-- a:hover { background-color: blue; color: white; } --> <style> </head> <body> bla bla bla </body></html>
html Syntax (Toggle Plain Text)
<html> <head> </head> <body> <a href='thisfile' style="hover { background-color: blue; color: white; }" > thisfile </a> </body> </html>
only one file need be altered to update the whole site
header styles, contain the full stylesheet in every page
inline styles contain the full style in every link on every page
they get exponentially bigger
each has a purpose
external stylesheet to style a site
header style to make a single page different
inline style to make a single element different
Failure is not an option It's included free, you don't have to do anything to get it
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
•
•
Join Date: Dec 2008
Posts: 64
Reputation:
Solved Threads: 13
0
#5 Oct 7th, 2009
•
•
•
•
external stylesheet[code=html]
<html>
<head>
<style type='text/css'>
<!--
There is no need to comment out the style rules, and hasn't been since Netscape 4.
•
•
•
•
<a href='thisfile' style="hover { background-color: blue; color: white; }" > thisfile </a>
Where did you come up with that? It's nonsense! Did you even try it?
Chris F.A. Johnson
http://cfajohnson.com
http://cfajohnson.com
0
#6 Oct 7th, 2009
never left out a colon?
its a typo, Human error
its a typo, Human error
<a href="http://www.w3.org/style/CSS" style="{color: blue; background: white} :visited {color: green} :hover {background: yellow} :visited:hover {color: purple} "> Example of a hyperlink to the CSS home page with special one-off visited and hover effects. </a> Failure is not an option It's included free, you don't have to do anything to get it
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
•
•
Join Date: Dec 2008
Posts: 64
Reputation:
Solved Threads: 13
0
#7 Oct 7th, 2009
•
•
•
•
never left out a colon?
its a typo, Human error
<a href="http://www.w3.org/style/CSS" style="{color: blue; background: white} :visited {color: green} :hover {background: yellow} :visited:hover {color: purple} "> Example of a hyperlink to the CSS home page with special one-off visited and hover effects. </a>
That even more bizarre. Does it work anywhere?
Chris F.A. Johnson
http://cfajohnson.com
http://cfajohnson.com
![]() |
Similar Threads
- Change the color of gridview row when the row is selected.. (ASP.NET)
- Want to change color on click!? (HTML and CSS)
- change the color for DBGrid row; Input Validation code help!! (Visual Basic 4 / 5 / 6)
- color off in browser (HTML and CSS)
- How to change the color of selected row of an HTML table without using CSS or Javascr (VB.NET)
- change color of border (Visual Basic 4 / 5 / 6)
- vBulletin mod_rewrite (PHP)
Other Threads in the HTML and CSS Forum
- Previous Thread: How to get anchor link specific area of a page.
- Next Thread: HTML to CSS and something else
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 xml xsl





Can someone tell me how to do this pleaseeeeeeeeeeeee 

