Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,151,823 members, 7,813,708 topics. Date: Tuesday, 30 April 2024 at 04:48 PM |
Nairaland Forum / Science/Technology / Programming / Please help me with this Code? (780 Views)
5,000 Naira For Someone Who Can Reverse This Code / Is Something Wrong With This Code / Need Help With This Code (2) (3) (4)
(1) (Reply)
Please help me with this Code? by feelme3(m): 7:27pm On Jan 10, 2010 |
Please, am trying out my little knowledge on css. Please, how do I make the active links to remain the same color with the hover? I don't seem to get it here. Am almost giving up on this but am eager to learn more. Please help. .mattblacktabs{ width: 100%; overflow: hidden; border-bottom: 2px solid black; /*bottom horizontal line that runs beneath tabs*/ } .mattblacktabs ul{ margin: 0; padding: 0; padding-left: 0px; /*offset of tabs relative to browser left edge*/ font: bold 10px Verdana, Arial, Helvetica, sans-serif; list-style-type: none; } .mattblacktabs li{ display: inline; margin: 0; } .mattblacktabs li a{ float: left; display: block; text-decoration: none; margin: 0; padding: 5px 15px; /*padding inside each tab*/ border-right: 1px solid white; /*right divider between tabs*/ color: #000040; background: #ccc; /*background of tabs (default state)*/ } .mattblacktabs li a:hover, .mattblacktabs li.selected a{ color: #fff; background: #000040; /*background of tabs for hover state, plus tab with "selected" class assigned to its LI */ } |
Re: Please help me with this Code? by yawatide(f): 9:47pm On Jan 10, 2010 |
This has already been answered here: https://www.nairaland.com/nigeria/topic-379196.0.html Programming mod: feel free to lock this thread. |
(1) (Reply)
Guys, Please Help With Final Year Project Suggestions!! / [Help Request] Help me align Horizontal Boxes on my page / I Need A Very Good Ebook That I Can Use To Learn Web Design
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10 |