March 10, 200818 yr ok im trying to create menu link in a vertical table. im having trouble making the links rollover to a different colour when the mouse hovers over them. the text is black and i want it to rollover to red when hovered. any ideas where im going wrong ?
March 10, 200818 yr you can set the state of hover using css a:hover { color:#FF0000} if you don't have a css file then you can add this bit of code somewhere in between the <head> and </head> tags <style> a:hover { color:#FF0000} </style>
March 10, 200818 yr Author you can set the state of hover using css a:hover { color:#FF0000} if you don't have a css file then you can add this bit of code somewhere in between the <head> and </head> tags <style> a:hover { color:#FF0000} </style> ok il try doing it without the css. i tried it with doing it as css and it went breats vertical so il try the coding you supplied. ta
March 10, 200818 yr Author ok il try doing it without the css. i tried it with doing it as css and it went breats vertical so il try the coding you supplied. ta ok question 2 ) using CSS rules now. the div is called #navtable can u list the settings to make the text hover as red. in the #navtable div is a 11 column table, 1 row thick with text in being used as buttons. just cant see where im going wrong
March 10, 200818 yr and neither can anyone here unless you post a link to the site...or the code so that we can see exactly what it is you are doing
March 10, 200818 yr Author ok its not hosted at the moment, just still designing through DW. to make it simple i have a div called #nav . using a css to make hover text do i add CSS rule named #nav #a:hover ? if this is still unclear can u explain how to make any word in a site have a hover cover using CSS rule please. sorry for the unclearness
March 10, 200818 yr If you just want <a href=....> links within the div with the id #nav, then you would use the following CSS: #nav a:hover { ... } I recommend having a read through the Sitepoint CSS Reference, it covers absolutely everything regarding CSS. Rob
March 10, 200818 yr Author If you just want <a href=....> links within the div with the id #nav, then you would use the following CSS: #nav a:hover { ... } I recommend having a read through the Sitepoint CSS Reference, it covers absolutely everything regarding CSS. Rob ta rob il give it a go. thanks dizi aswell
Create an account or sign in to comment