vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   editor border (https://vborg.vbsupport.ru/showthread.php?t=106372)

CAMS 01-26-2006 02:50 PM

editor border
 
1 Attachment(s)
just a quick question is ther anyway to change the colour of the borders shown in the pic below or get rid of them...

i know you can do it in vbulletin_editor.css but that relates to all styles on the forum.. i want to change it for just 1 style

would be greatful if anyone can tell me how todo it

thanks
chris

cmon outa a crap load of users online noone knows if it can be done without havin to edit the vbulletin_editor.css and effecting all the other styles installed?


:(

davidw 01-26-2006 07:02 PM

The second thing in your picture is a fieldset tag. I'll have to check which file this is in (or template) as I don't know, but changing border=1 to border=0 will fix the top part and removing the <fieldset> tag will take out the bottom part. Let me look.

S@NL - BlackBik 01-26-2006 07:14 PM

I think you'll have to change the <legend> style in your stylesettings.

Nope, sorry, that's not it......

But it might be in the Additional CSS Definitions.
I see a "fieldset" setting there.
Didn't try it though.

davidw 01-26-2006 08:38 PM

Guessing here -
Go to Admincp / Style Manager / yourstyle / Post Icon Templates / posticons

Find and remove:
<fieldset class="fieldset" style="margin:10px 0px 0px 0px">
<legend>$vbphrase[post_icons]</legend>

Find and remove:
</fieldset>

Go to Admincp / Style Manager / yourstyle / Editor Templates / editor_clientscript

Find after <!-- EDITOR STYLES -->:
.vBulletin_editor {
background: {$istyles[pi_button_normal][0]};
padding: $stylevar[cellpadding]px;
}

Change $stylevar[cellpadding] to 0

Let me know if this works.

Edit: Wrote wrong template down.
Edit: Added

CAMS 01-26-2006 08:42 PM

Quote:

Originally Posted by S@NL - BlackBik
I think you'll have to change the <legend> style in your stylesettings.

Nope, sorry, that's not it......

But it might be in the Additional CSS Definitions.
I see a "fieldset" setting there.
Didn't try it though.

I added

Code:

.fieldset { border: 0px; }
to the Additional CSS Definitions and that done the trick for the legend part

but the top border on the editor is still ther :(

i tryed taken

Code:

/* the container for the editor */
.vBulletin_editor
{
        border: 0px none;
}

/* the container for all the edit controls */
#controlbar, .controlbar
{
        padding: 2px;
}

/* the WYSIWYG edit area itself */
#htmlbox
{
        border: 1px inset;
        font: 10pt verdana;
        overflow: auto;
}

from the vbulletin_editor.css and putting it in Additional CSS Definitions but it doesnt change a thing :(

anyone got any ideas how to get rid of the thick whiteish border around the posting part without it effecting every style installed?

this only problem i need to sort and the styles finnished.. so ya can imagine my frustration with this lol

davidw 01-26-2006 08:49 PM

See my edited post above.

CAMS 01-26-2006 08:54 PM

Quote:

Originally Posted by christianb
See my edited post above.

nope it never worked mate but u led me to the part i needed :)

i added

Code:

border:0px;
just below wer u said to change the padding and that sorted it :)

THANK YOU mate lol was getting so frustrated withit

S@NL - BlackBik 01-26-2006 08:55 PM

christianb, I'm afraid editing the templates will remove the borders in all styles and that's not what he wants ;)

CAMS 01-26-2006 08:59 PM

Quote:

Originally Posted by S@NL - BlackBik
christianb, I'm afraid editing the templates will remove the borders in all styles and that's not what he wants ;)

no no .. the template he asked me to edit is style pesific (SP?) so changes only apply to style ur working on

or am i tripping here? lol

S@NL - BlackBik 01-26-2006 09:03 PM

ok, than give it a go :)


All times are GMT. The time now is 05:48 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
  • Page Generation 0.01119 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete