Advertisement:

Author Topic: BBCode with style  (Read 75640 times)

Offline davidhs

  • Sophist Member
  • *****
  • Posts: 1,135
  • Gender: Male
Re: BBCode with style
« Reply #120 on: November 25, 2017, 01:21:14 PM »
Compatible with SMF 2.0.14 and 2.0.15.

Offline Kirolainen

  • Newbie
  • *
  • Posts: 9
Re: BBCode with style
« Reply #121 on: February 22, 2018, 08:11:42 PM »
Hey there! Thank you for this wonderful mod!
Is there any way to add divs or tables to have background image style? It seems to throw in an error when I try to do it.

Offline davidhs

  • Sophist Member
  • *****
  • Posts: 1,135
  • Gender: Male
Re: BBCode with style
« Reply #122 on: February 23, 2018, 06:29:20 AM »
Is there any way to add divs or tables to have background image style? It seems to throw in an error when I try to do it.
Yes, with
Code: [Select]
[div style="background-image: url(http://your_image.gif);"]...[/div](same with table, tr or td)

Perhaps you must write an absolute url, instead of relative url.

Offline njtweb

  • Sophist Member
  • *****
  • Posts: 1,114
Re: BBCode with style
« Reply #123 on: May 10, 2018, 07:28:09 AM »
Thank you for the mod. How can you make a solid border? By default it's double line when I add boarder=1

Offline davidhs

  • Sophist Member
  • *****
  • Posts: 1,135
  • Gender: Male
Re: BBCode with style
« Reply #124 on: May 10, 2018, 07:47:49 AM »
Thank you for the mod. How can you make a solid border? By default it's double line when I add boarder=1
You do not use border=1 in table.
Use style="border: 1px solid red;" (for example) in table, tr and/or td.
More examples: https://www.w3schools.com/cssref/pr_border.asp

Offline davidhs

  • Sophist Member
  • *****
  • Posts: 1,135
  • Gender: Male
Re: BBCode with style
« Reply #125 on: March 07, 2020, 08:25:07 AM »
New version:
Code: [Select]
1.5.2   2020-03-07
------------------
@ Can be installed before or after "nCode Image Resizer" MOD 2.0 (for SMF 2.0-2.0.15).
+ SMF compatibility: 2.0.11-2.0.17.
- SMF 2.0.x: Languages: brazilian, brazilian-utf8, spanish, spanish-utf8 (these are not used).

Offline StarredSkies

  • Semi-Newbie
  • *
  • Posts: 99
    • Beasts of Beyond
Re: BBCode with style
« Reply #126 on: October 07, 2020, 02:26:50 AM »
I just want to say thank you. This is honestly one of the best modifications and most-used on our website. It allows users to create stylish post templates or flawless biographies. I dearly hope you continue to update and add to this amazing add-on. SMF would not be the same without it.

Offline davidhs

  • Sophist Member
  • *****
  • Posts: 1,135
  • Gender: Male
Re: BBCode with style
« Reply #127 on: October 10, 2020, 08:30:56 AM »
I just want to say thank you. This is honestly one of the best modifications and most-used on our website. It allows users to create stylish post templates or flawless biographies. I dearly hope you continue to update and add to this amazing add-on. SMF would not be the same without it.
Thank you!  :D