![]() |
How to remove underline?
https://vborg.vbsupport.ru/external/2014/02/40.png
I had seen this on a forum, and I was wondering, how would someone remove the underline before and after the A? |
You mean, in the text editors?
If so, in style manager Use "Search In Templates" to find all templates that have the word "separator" or "separator.gif" in them. This will populate the list of all the editor templates in your style. Go in and comment out the references to the "underline" function in the editors. Don't remove them, just comment them out because you might find you want them back someday. |
Ah, so it wouldn't have to do with the usergroup markup or anything?
|
Quote:
I know you can disallow them all by usergroup, but that's not what you asked for and as I'm sure you already knew.:D |
So to comment it out, as one of the Admins who is asking hasn't messed with Style Manager. Just remove the option, or put // in front?
|
1 Attachment(s)
Which by the way, the template edits above won't stop anyone from manually inputting the "u" BB code in their posts... Perhaps wait before doing anything, until a wiser vB licensee comes along to answer this.
Removing it from the editors is one thing, disallowing that BB code globally is quite another. |
Quote:
HTML Code:
<td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td> |
I'm very sorry, I'm still also new to this side of vBulletin. So that code you provided me, how would I comment that out?
|
Quote:
Comment it out like this: <!--- the code ---> But as I just told you, this only removes the button from the editor. IT DOES NOT STOP ANYONE FROM USING THE UNDERLINE FUNCTION ANYWAY. |
Code:
<1--- <td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td> ---> |
Yep that's it.
And you'll be doing that for at least 7 or 8 templates. This is why I am saying WAIT... Someone more knowledgeable than I will come along and give you a much simpler and easier way. Because this only removes the button from the editor. IT DOES NOT STOP ANYONE FROM USING THE UNDERLINE FUNCTION ANYWAY. They can still manually input it into their posts. |
Oh you're talking about the Underline button in posts?
I'm referring to that image where there's a space and underline before and after the A, and how to remove that. |
Quote:
|
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
That underline is because white space is hyperlinked.
e.g. <a href="examplelink">Edia <img src="image.png" alt=""></a> <img src="image.png" alt=""></a></a> You can use the exmaple code below to remove the underline from white space: <a href="examplelink">Edia</a> <a href="examplelink"><img src="image.png" alt=""></a> <a href="examplelink"><img src="image.png" alt=""></a> |
Quote:
And where can this be placed? |
You can use this example code whereever you need to remove the hyperlinked whitespace. Unless we have more info it is impossible to tell where and what to edit.
|
All times are GMT. The time now is 12:57 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|