PDA

View Full Version : [solved] How to remove the 2px inset from the vb wysiwyg editor?


Taragon
11-27-2008, 04:42 PM
It's like the title says really. Please note, I don't mean the CSS Selector: textarea, .bginput

Every help would be highly appreciated!

Lynne
11-27-2008, 04:52 PM
Find it in the page source and change it?

To find the template - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.

Taragon
11-27-2008, 05:02 PM
Normally I would do exactly the same, however, it isn't there.
I think it's somewhere within the vbulletin_textedit.js, but somehow I can't find it :(

Lynne
11-27-2008, 05:04 PM
Well, I have no idea exactly what you are talking about, so I'm not sure what to suggest. If you think it's in the .js file, then do a search in it for "2px". Or just search all the files for "2px" and see what files come up. There is the vbulletin_editor.css file also.

Taragon
11-27-2008, 05:19 PM
Hi Lynne,

This is what I mean (having the wysiwyg function enabled. within the red dotted line)
https://vborg.vbsupport.ru/external/2008/11/16.jpg

I have searched all templates, all styles, and all files for iframe, 2px, inset, #vb_Editor_QR_iframe, etc.

But somehow, I can't find it, or is it that merged within the code I don't understand it.

--------------- Added 1227815433 at 1227815433 ---------------

<iframe style="border: 2px inset ; width: 540px; height: 250px;" tabindex="1" id="vB_Editor_001_iframe"></iframe>
Normally this should work (overrule it):
#vB_Editor_001_iframe {border-style:solid;
border-width:1px;}
However, somehow it doesn't :(

Lynne
11-27-2008, 06:01 PM
Well, it looks like iframe is something used in vbulletin_textedit.js and "2px inset" is in two places in that file. I suppose you can change it there and see what happens.

Taragon
11-27-2008, 06:06 PM
in two places
You're amazing :oops: Much appreciated!

wii
08-25-2009, 10:13 AM
This only works in Firefox, in IE 8 I can still see that 2pixels inset, any ideas ?

Lynne
08-25-2009, 02:45 PM
Sorry, no IE here for me to see what may be going on.

Taragon
08-25-2009, 04:11 PM
Me neither, however, with both of the 2px inset gone, it for sure can't be a 2px inset.
Still, there can be some visual changes. Ie. the fieldset looks quite horrid in internet explorer, compared to firefox