| | |
rollover effect
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Nov 2007
Posts: 52
Reputation:
Solved Threads: 2
Hi,
I designed one website for links i gvn rollover color, that color i want to be in current page means if u click on like ex: about.html page that rollover color has to shown in that page also.
I tried with this code, but not working.
I designed one website for links i gvn rollover color, that color i want to be in current page means if u click on like ex: about.html page that rollover color has to shown in that page also.
I tried with this code, but not working.
CSS Syntax (Toggle Plain Text)
#menu{ width:90%; height:30px; float:left; margin: 0 auto; padding: 0px 0; background-image:url(images/menu-bg.jpg); } #menu ul{ height:16px; margin:0px; padding:0px; list-style:none; } #menu li{ float:left; height:16px; } #menu a{ float:left; height:16px; width:132px; padding:13px 0px 0px 0px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; color:#CCCCCC; font-weight:normal; text-decoration:none; background: black url(images/butn1.jpg) center center repeat-x; } #menu a:hover{ color:#FFFFFF; } #menu .current_page{ color:#FFFFFF; }
Last edited by MattEvans; Feb 19th, 2008 at 6:06 am. Reason: Please use [code="CSS"] tags.
Try
or just
HTML and CSS Syntax (Toggle Plain Text)
#menu.current_page { color:#FFFFFF; }
or just
HTML and CSS Syntax (Toggle Plain Text)
.current_page { color:#FFFFFF; }
![]() |
Similar Threads
- Image Map Rollover error (JavaScript / DHTML / AJAX)
- articleshouse.com review (Website Reviews)
- IE security not showing rollovers, "ActiveX blocked" on my page... (HTML and CSS)
- help (C++)
- Mouse over buttons on .js file? Urgent-help (JavaScript / DHTML / AJAX)
- Help with dynamic menu (HTML and CSS)
- Arizona Web wants reviews too! (Website Reviews)
- Problem viewing motion .gif and rollover... (Windows NT / 2000 / XP)
Other Threads in the HTML and CSS Forum
- Previous Thread: Firefox problem. table repeats.
- Next Thread: Difference beween class and id-selector.
| 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





