d22552000 Posted September 3, 2007 Share Posted September 3, 2007 This is PHP related becasue all the css is generated differently every time the page is loaded. (only the indented part is the code, the rest is just so it iwll do highlighting) <html> <body> <table> <tr height="30%"> <td class=".tcat"> <p align="center"> <font face="verdana" size="4"> <input classs=".option" type="text" name="" value="" size="32"> </font> </p> </td> </tr> </table> </body> </html> Can you please tell me whats wrong with this? Why is it not attaching to my CSS? <style type="text/css" id="feedback_css"> <!-- .tcat { background: #222222 url(forum/images/dark_vb_v2/gradients/gradient_tcat.gif) repeat-x top left; color: #ffffff; font: bold 9pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; } .tcat a:link, .tcat_alink { color: #76E4FB; text-decoration: none; } .tcat a:visited, .tcat_avisited { color: #76E4FB; text-decoration: none; } .tcat a:hover, .tcat a:active, .tcat_ahover { color: #8DA7B4; text-decoration: underline; } .option { background: #25292C; color: #DBDBDB; font: 10px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; white-space: nowrap; cursor: pointer; } .option a:link, .option_alink { color: #DBDBDB; text-decoration: none; } .option a:visited, .option_avisited { color: #DBDBDB; text-decoration: none; } .option a:hover, .option a:active, .option_ahover { color: #DBDBDB; text-decoration: none; } --> </style> Quote Link to comment Share on other sites More sharing options...
Jessica Posted September 3, 2007 Share Posted September 3, 2007 Because in the HTML you should write "option" not ".option" the . in the css indicates a class, like how a # indicates an ID. You don't put it in the HTML part. Also, next time use code tags please! Quote Link to comment Share on other sites More sharing options...
d22552000 Posted September 3, 2007 Author Share Posted September 3, 2007 I used but the site isnt listening to that . and im tyring it now, thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.