1) Script Title: Dynamic Ajax Content
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...jaxcontent.htm
3) Describe problem: I have the links set in divs and would like the selected link have a different background & font color using CSS, but am not sure how to achieve that.
Here is my working sample page: http://www.floridaschoolbreakfast.or...eupsample.html. The dynamic ajax links are set in divs to achieve the desired menu appearance the client wants, but I cannot figure out how to make the selected div for dynamic content have a different appearance from the rest. Here is the relevant CSS I'm using so far:
Thank you in advance for any assistance.Code:/* HUDDLE UP MENU */ .huborder { width:100%; border-bottom:0px; width:960px; margin:0px auto; } .hutabborder { border-right:1px solid #fff; } .hutab { float:left; } .hutab a:selected { color:#00ad4a; padding:8px 0px; background:#fff; } .hutab a:link { color:#fff; padding:8px 0px; background:#00ad4a; } .hutab a:visited { color: #fff; padding:8px 0px; background:#00ad4a; } .hutab a:hover { color:#fff; background:#52c889; } .hulink { display:block; padding:8px 0px; text-align:center; text-decoration:none; }
Deborah



Reply With Quote



Bookmarks