jomagi Posted February 18, 2009 Share Posted February 18, 2009 Hi there! How can I turn off all the decoration of links in a DIV or TABLE, I have a decoration in the webpage used in the links but in this DIV or TABLE I don't want any decoration, no underline, no border, no mouseover, nothing but remaining the linkage!!! Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/145779-turn-off-all-button-decoration-in-a-div-or-table/ Share on other sites More sharing options...
jcombs_31 Posted February 18, 2009 Share Posted February 18, 2009 This is a CSS question, but you should be able to do something like #mydiv a { color: something; text-decoration: something; etc... } table a { something else } Quote Link to comment https://forums.phpfreaks.com/topic/145779-turn-off-all-button-decoration-in-a-div-or-table/#findComment-765499 Share on other sites More sharing options...
TheFilmGod Posted February 19, 2009 Share Posted February 19, 2009 Hi there! How can I turn off all the decoration of links in a DIV or TABLE, I have a decoration in the webpage used in the links but in this DIV or TABLE I don't want any decoration, no underline, no border, no mouseover, nothing but remaining the linkage!!! Thanks! There is numberous options you have. You can specify "default" values for the div or table. OR you can reorganize your css/html in previous sections so that inheritance will not be a problem. Quote Link to comment https://forums.phpfreaks.com/topic/145779-turn-off-all-button-decoration-in-a-div-or-table/#findComment-765785 Share on other sites More sharing options...
jomagi Posted February 19, 2009 Author Share Posted February 19, 2009 I'm noob to this thing, can you explain a little more please??? <style type="text/css"> <!-- a:link {text-decoration: none; color: #FFFFFF} a:visited {text-decoration: none; color: #FFFFFF} a:active {text-decoration: none; color: #FFFFFF} a:hover {text-decoration: none; text-align: right; color: #666666; background: #f1f1f1; display: block; width: 85px;} #menu { bottom: 3%; right: 20px; width: 70px; position: fixed; } body { background-color: #99CB34; background-image: url(images/Background.jpg); background-repeat: no-repeat; background-position: top right; } img { border-style: none; } --> </style> I have this code in the style section, define how my menu should act but now I need to put a TABLE or DIV with a table where I show an image with link and a string with link too, but I don't want any type off visual interact to be more clean and for make difference from site menu. Quote Link to comment https://forums.phpfreaks.com/topic/145779-turn-off-all-button-decoration-in-a-div-or-table/#findComment-766118 Share on other sites More sharing options...
jomagi Posted February 19, 2009 Author Share Posted February 19, 2009 Problem solved! Add #menu a:link.......... for settings off menu, and create other a:link.... for the rest, thanks for the help! Keep the good work! Quote Link to comment https://forums.phpfreaks.com/topic/145779-turn-off-all-button-decoration-in-a-div-or-table/#findComment-766303 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.