| | |
CSS getting a:hover to work. (#links a)
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2005
Posts: 104
Reputation:
Solved Threads: 0
I've got the following css:
The problem is that I want the hover to work, just as what is in #links a. The problem is, it seems, is that they are not compatible with each other; the one I put on top works, the other doesn't. How can I solve this?
Thank You.
(Anohter quick question: what would be a good way to make everything float to the left?)
HTML and CSS Syntax (Toggle Plain Text)
a:hover {background-color:#ff3300}; #links a { color: #FFFFFF; background-color: #CC00CC; width:6em; heigth:6em; padding:0.2em 1.5em; } body {background-color: #000000};
The problem is that I want the hover to work, just as what is in #links a. The problem is, it seems, is that they are not compatible with each other; the one I put on top works, the other doesn't. How can I solve this?
Thank You.
(Anohter quick question: what would be a good way to make everything float to the left?)
well... i think it should work by specifying the a:hover as anither class in the
#links id... like this: css Syntax (Toggle Plain Text)
#links a { code } #links a:hover { code }
-->sometimes i wanna take my toaster in a bath<-- ![]() |
Similar Threads
- Website NOT showing menu hover in Internet Explorer (Site Layout and Usability)
- Help, page won't work in IE (HTML and CSS)
- MySpace Related : Trying to mount BG image on DIV, won't work, tried a few dif things (JavaScript / DHTML / AJAX)
- New Site Needs Review (Website Reviews)
- CSS Left hand row of links. (HTML and CSS)
- Newbies buttons/links (IT Professionals' Lounge)
- opera problems with hover menu (JavaScript / DHTML / AJAX)
- Image links and CSS (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: expand
- Next Thread: CSS Allignment Help
| 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 pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






