ardyandkari Posted July 30, 2007 Share Posted July 30, 2007 hi. the following is a link to my site: http://www.hhmed.net the following is my css file: body { font-family: arial, helvetica, sans-serif; font-size: 16px; color: #000; background: #FFF; text-align: left; margin: 2px; } A.dark:link { color: #C0BC91; text-decoration: none; } A.dark:visited { color: #C0BC91; text-decoration: none; } A.dark:active { color: #C0BC91; text-decoration: none; } A.dark:hover { color: #000066; text-decoration: none; } A:link { color: #333333; text-decoration: none; } A.select:link { color:0099ff; text-decoration:none } A.select:visited { color: #0000ff; text-decoration: none; } A.select:active { color: #0000ff; text-decoration: none; } A.select:hover { color: #0000ff; text-decoration: none; } A:visited { color: #333333; text-decoration: none; } A:active { color: #333333; text-decoration: none; } A:hover { color: #0066CC; text-decoration: none; } TD { font-size: 12px; font-family : Arial; } P { font-size: 12px; margin-left: 12px; font-family : Arial; } TD.smaller { font-size: 11px; font-family : Arial; color : #000000; } P.smaller { font-size: 11px; font-family : Arial; color : #000000; } TD.whitetext { font-size: 11px; font-family : Arial; color : #FFFFFF; } TD.menu { font-size: 10px; font-family : Tahoma; font-weight : Bold; } input.search { height: 12px; background-color: #FFFFFF; border: solid #666; border-width: 1px; font-family: tahoma; color: rgb(0,0,0); font-size: 11px; } select.search { height: 17px; background-color: #F8F0D8; border: solid #C0BC91; border-width: 1px; font-family: tahoma; color: rgb(0,0,0); font-size: 11px; margin: 0px; } TD.mincart { font-size: 11px; font-family : Arial; } P.mincart { font-size: 11px; font-family : Arial; } HR { color : #C0BC91; height : 1px; } TD.searchtext { font-size: 11px; font-family : Arial; font-weight: bold; margin-bottom: 2px; } form { margin: 0;padding: 0; margin-bottom: 3px; } my question is this, why dont my links show up a different color? i have the links style set as "select", but they dont change... thanks ardy Link to comment https://forums.phpfreaks.com/topic/62507-solved-my-css-file-isnt-working-right/ Share on other sites More sharing options...
soycharliente Posted July 30, 2007 Share Posted July 30, 2007 You're missing a # in front of it. A.select:link { color:0099ff; text-decoration:none } Link to comment https://forums.phpfreaks.com/topic/62507-solved-my-css-file-isnt-working-right/#findComment-311133 Share on other sites More sharing options...
ardyandkari Posted July 30, 2007 Author Share Posted July 30, 2007 why am i so stupid??? thanks a lot! Link to comment https://forums.phpfreaks.com/topic/62507-solved-my-css-file-isnt-working-right/#findComment-311144 Share on other sites More sharing options...
soycharliente Posted July 30, 2007 Share Posted July 30, 2007 You're not. Sometimes it's hard to see the simple things when you look at it for hours on end. Mark solved if it helped. Link to comment https://forums.phpfreaks.com/topic/62507-solved-my-css-file-isnt-working-right/#findComment-311152 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.