Hi All, I need help with links css. I have also create this topic for help. but i do not get appropriate answer http://forums.digitalpoint.com/showthread.php?t=1710182 .. Please Check it First http://www.bhallibrothers.com/surgical.php?id=1 I want when i click on Forceps. it turn to bold. and then i click on another sub category like Intestinal Forceps then Forceps subcategory will turn to normal position and Intestinal Forceps will turn to bold. I only want when user go to any sub category. He will easy to find that which category he inside. Hope u understand my problem.. Sorry for bad english Thanks
Don't know if this will help , but here a code I'm usign for links : I think I understood corectly , hopes this helps , try and play a little with them , I think I should work. .class1 a { text-decoration:none ; font-weight:normal; font-size:11px; font-family:Verdana; } .class1 a:link { color: #000000; font-weight:normal; font-size:11px; font-family:Arial, Helvetica, sans-serif; } .class1 a:visited { color: #000000; font-weight:normal; font-size:11px; font-family:Arial, Helvetica, sans-serif; } .class1 a:hover { color: #000000; text-decoration:underline; font-weight:normal; font-size:11px; font-family:Arial, Helvetica, sans-serif; } .class1 a:active { color: #000000; font-weight:bold; font-size:11px; font-family:Arial, Helvetica, sans-serif; } Code (markup):
CSS is the LEAST of your problems - No doctype so hacking around IE being in quirks mode, tables for layout, pointless single TD tables for no good reason, attributes like 'align' and tags like 'font' which have no business being in a website written after 1998, improper use of table elements if one were to use table (aka classes on TD's instead of TH, rowspans instead of CAPTION), nothing remotely resembling semantic markup with no headers, paragraphs, or lists when you have elements that appear to be headings, paragraphs and lists... As evidenced by the FIFTY validation errors saying you don't have HTML, you have gibberish - and the 52k of HTML to deliver 1.8k of actual content text and nine images that qualify as content. I have doubts that should take more than 8k of code when written properly, and even that might be an overestimate. Looking at all the presentational garbage in the HTML it begs the question - what do you even have CSS FOR since there's more of HTML 3.2 to the page than anything from THIS century. I'm really hoping that's a ten year old site you are playing with - though being it's in some trash shopping cart you may have been saddled with the trash markup since those jackasses rarely take the time to LEARN HTML before the language they write the carts in. (putting the cart before the horse as it were) My advice - throw it out and start over, there's NOTHING worth saving there...