vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - Borgs' [BB Code] Pack For vB 4.0.2+ (https://vborg.vbsupport.ru/showthread.php?t=236950)

War.Frog 03-01-2010 10:50 PM

Quote:

Originally Posted by Brew (Post 1994803)
I just added Drop Caps for you

Enjoy!

:D

ZOMG you're a rock star! :D Installing...thanks!

Brew 03-01-2010 10:55 PM

Quote:

Originally Posted by War.Frog (Post 1994813)
ZOMG you're a rock star! :D Installing...thanks!


I like it myself.

It's also cool that you can change the font type to make it stand out even further.

Select the letter, change the font type and use the Drop Cap button..... 6 is a good size :)

War.Frog 03-02-2010 12:28 AM

Quote:

Originally Posted by Brew (Post 1994818)
I like it myself.

It's also cool that you can change the font type to make it stand out even further.

Select the letter, change the font type and use the Drop Cap button..... 6 is a good size :)

It's awesome. Is there any way to reduce the white space above a letter so it aligns to the top of the text beside it? Or is it the nature of CSS/HTML?

Videx 03-02-2010 12:54 AM

For some reason, Glow pushes my text down a line, causing chaos in the shoutbox.

Brew 03-02-2010 01:02 AM

Quote:

Originally Posted by War.Frog (Post 1994877)
It's awesome. Is there any way to reduce the white space above a letter so it aligns to the top of the text beside it? Or is it the nature of CSS/HTML?

I'm having issues with my server right now.

When it's up again I'll test some ideas I have.

Brew 03-02-2010 01:14 AM

Quote:

Originally Posted by Videx (Post 1994889)
For some reason, Glow pushes my text down a line, causing chaos in the shoutbox.

That's the nature of having no standards in this stuff.

With the Firefox part it's not a problem as you can use the span tag.

However, in IE, you have to put the code into a table, P, H1 (or 2 etc) or div tag, which forces it to be on it's own line.

You'll notice that the part in the code for FF I used H1 tags so it will be more closely to what you'd get in IE.

You can remove the H1 tags in the FF portion of the code and it will be what you're after....however, those who use IE will be forced to see the results on it's own line and other areas where you use the code will be different for IE and FF users.

One of these days they'll get their acts together and start standardizing these things....but I'm not holding my breathe.

The method I used to get the code to work with both browsers was the best to reconcile the differences between the two ways they implement glowing text. (actually FF doesn't have a "glow" feature and you have to use a trick of shadowing the text to create the same effect that IE does naturally).

Sorry about this...it's the nature of the browser wars that you get this nonsense.

Brew 03-02-2010 03:19 AM

Quote:

Originally Posted by War.Frog (Post 1994877)
It's awesome. Is there any way to reduce the white space above a letter so it aligns to the top of the text beside it? Or is it the nature of CSS/HTML?

I've played around a bit and even set the padding to 0px for the top (padding: 0px 8px 0px 0px; ). It seems that the letter will not go any higher. Even when trying absolute padding it didn't work, and actually that totally messed it all up.

Short of using an image as a drop cap and wrapping text around it I think this is the best you'll get using text.

War.Frog 03-02-2010 03:29 AM

Quote:

Originally Posted by Brew (Post 1994969)
I've played around a bit and even set the padding to 0px for the top (padding: 0px 8px 0px 0px; ). It seems that the letter will not go any higher. Even when trying absolute padding it didn't work, and actually that totally messed it all up.

Short of using an image as a drop cap and wrapping text around it I think this is the best you'll get using text.

Thanks so much anyway - I still love it...especially as you say changing the font size and weight and color of that drop cap letter.

War.Frog 03-02-2010 11:49 AM

1 Attachment(s)
To complement the Drop Cap, I created a Justify BB Code that provides full text justification in newspaper style and it really improves the look of CMS articles. Feel free to improve/include it here if you like. Button image attached.

Code:
Code:

<div style="text-align: justify;text-justify: newspaper";>{param}</div>

Also attached is a Drop Cap button in case you want to retain the look and feel of existing editor buttons.

zeroality 03-05-2010 02:21 AM

Uh, how are we supposed to see how it works? All the example images are broken.


All times are GMT. The time now is 05:53 PM.

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.01123 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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