Joined: Feb 2003
Posts: 174
Member
Member
Joined: Feb 2003
Posts: 174
Ok one of my members has just poined out to me that ALL the links on the forum are underlined.
I figured this is something to do with the css style sheet and have been looking through it to see anything about being underlined, but I dont see anything.
Am I missing it? Or can someone tell me what I'm looking for and what I should do when I find it lol?
Thanks in advance
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I'm not 100% certain.... we'll wait for someone who knows to confirm.
But I think you might need:
text-decoration: none;
added into the links sections. Otherwise the underline is default.
CSS Gurus.... do I have that right?
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Joined: Feb 2001
Posts: 2,268
Look for:
text-decoration: underline;
in the A:link, A:visited, A:active, and A:hover classes.
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thank you.
Try changing this:
<br />a:link { <br /> color: #FFFFFF;<br /> background: none;<br />}<br />a:visited { <br /> color: #FFFFFF;<br /> background: none;<br />}<br />a:active {<br /> color: #FFFFFF;<br /> background: none;<br />}<br />a:hover { <br /> color: #FF0000;<br /> background: none;<br />}<br /> to:
<br />a:link { <br /> color: #FFFFFF;<br /> background: none;<br /> text-decoration: none;<br />}<br />a:visited { <br /> color: #FFFFFF;<br /> background: none;<br /> text-decoration: none;<br />}<br />a:active {<br /> color: #FFFFFF;<br /> background: none;<br /> text-decoration: none;<br />}<br />a:hover { <br /> color: #FF0000;<br /> background: none;<br /> text-decoration: none;<br />}<br /> Might also need to add that bit into here as well:
<br />.onbody{<br /> color: #000000;<br /> background: none;<br />}<br />.onbody a:link {<br /> color: #FFFFFF;<br /> background: none;<br />}<br />.onbody a:visited {<br /> color: #FFFFFF;<br /> background: none;<br />}<br />.onbody a:active {<br /> color: #FFFFFF;<br /> background: none;<br />}<br />
Joined: Feb 2003
Posts: 174
Member
Member
Joined: Feb 2003
Posts: 174
Thanks for both the replies.
I cant find anything about underlined in the css page.
I've copied and pasted the whole discument to do a search just in case i'm missing it and there's no referance to anything underlined.
I'd love to try your idea Josh but not sure where the links section is in the css doscument.
Can you give me some text to seach for then I can just add hat you suggested above or below?
Thanks
Joined: Feb 2003
Posts: 174
Member
Member
Joined: Feb 2003
Posts: 174
ahh sorry u replied while i was typing my reply...i'll add it now
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Try uploading the attached to your /ubb/stylesheets directory.
Then hit refresh a few times.
Attachments
Joined: Feb 2003
Posts: 174
Member
Member
Joined: Feb 2003
Posts: 174
Hey,
Thanks again Josh...it worked
Had to browse round a bot first because I think it was cached, but after a few clicks, the underline went.
Cheers both of you
Joined: Feb 2003
Posts: 174
Member
Member
Joined: Feb 2003
Posts: 174
didn't need to upload it m8, you replied with that while I was doing it, and it worked
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Joined: Feb 2001
Posts: 2,268
Yup, default is underline and I forgot
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I'm not really a CSS expert. But I'm learning fast.
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Joined: Feb 2001
Posts: 2,268
I learn new things every day my friend
Joined: Feb 2003
Posts: 174
Member
Member
Joined: Feb 2003
Posts: 174
I do as well, never eat yellow snow
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Joined: Feb 2001
Posts: 2,268
LOL!
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Posts:
417
Joined: November 2001
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166Sep 15th, 2019
Currently Online
Topics Created
Posts Made
Users Online
Birthdays