helpneeded22 Posted August 13, 2016 Share Posted August 13, 2016 (edited) .fbtexttile { width: 130px; float: left; text-align: justify; color: black; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; font-style: normal; padding-top: 2px; padding-right: 2px; } I can't figure out how to remove underlines from a:link text in only a specific div. (It is only the text displayed in this div that I want to be formatted this way -- for all other a:links on my page, I want them to be underlined.) Above is the code I have for the div. What do I add into this code to change all the links (link, hover, visit, active) to be all formatted the same? Thank you. Edited August 13, 2016 by helpneeded22 Link to comment Share on other sites More sharing options...
Ingolme Posted August 13, 2016 Share Posted August 13, 2016 Select all <a> elements that are descendants of the fbtextile element and set their text-decoration to "none". .fbtextile a { text-decoration: none; } Link to comment Share on other sites More sharing options...
helpneeded22 Posted August 13, 2016 Author Share Posted August 13, 2016 (edited) <div class="fbtexttile"> <A HREF="https://www.facebook.com/minisgallery/"> Like us on Facebook to get updates on new additions to the galleries! </A> </div> Thanks Foxy, I tried using this but it did not work. I wasn't sure whether I was supposed to put that on my .css page or on my .html page within the <head> -- so I did both, but neither worked. Maybe its the code I am using to reference it? Edited August 13, 2016 by helpneeded22 Link to comment Share on other sites More sharing options...
Ingolme Posted August 13, 2016 Share Posted August 13, 2016 That should go in the CSS stylesheet. You should notice I misspelled the class name, it's missing a "t" Link to comment Share on other sites More sharing options...
helpneeded22 Posted August 13, 2016 Author Share Posted August 13, 2016 Ah yes, the "t" was the missing link Thanks for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now