Results 1 to 10 of 12
Threaded View
-
24th Mar 2012, 04:11 PM #1OPMember
Simple CSS highlight help
Code:<ul id="navigation"> <li class="active"><a href="/">Home</a></li> <li class="active"><a href="/myaccount">My Account</a></li> <li class="active"><a href="/editaccount">Edit Account</a></li> <li class="active"><a href="/logout">Logout</a></li> </ul>
Code:ul#navigation li { float: left; margin: 0 1px 0 0; padding: 8px 10px 8px 10px; font-size: 0.8em; background: #161616; /*background: #fff url(images/tab_background.gif) top left repeat-x;*/ font-family: "Verdana", sans-serif; } ul#navigation :hover { background: #376a00; } /*Navigation Text*/ ul#navigation li a { color: #FFF; text-decoration: none; } ul#navigation li a:hover { color: #fff; font-family: "Verdana", sans-serif; } ul#navigation li.active { border-bottom: 1px solid #000; background: #81CA2A; }
NewBiee Reviewed by NewBiee on . Simple CSS highlight help <ul id="navigation"> <li class="active"><a href="/">Home</a></li> <li class="active"><a href="/myaccount">My Account</a></li> <li class="active"><a href="/editaccount">Edit Account</a></li> <li class="active"><a href="/logout">Logout</a></li> </ul> This is my HTML, how do I highlight the current tab which is currently viewed on the browser? Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Highlight searched text plugin
By r00ts in forum WordpressReplies: 2Last Post: 9th Apr 2012, 07:10 PM -
[Hiring] Simple PHP Job
By Apathetic in forum Completed TransactionsReplies: 0Last Post: 14th Sep 2011, 02:08 AM -
[Hiring] $10 simple job :D
By viruz99 in forum Completed TransactionsReplies: 8Last Post: 28th Nov 2010, 07:22 AM -
Something Simple
By w00ty in forum Graphics AreaReplies: 0Last Post: 14th Jul 2010, 07:58 AM -
Its seems so simple ...
By S?nic in forum IP.BoardReplies: 8Last Post: 20th Sep 2009, 12:42 AM
themaPoster - post to forums and...
Version 5.40 released. Open older version (or...