Jump to content

Help with BBcode


nukecad

Recommended Posts

Is anyone here a guru on BBcode as used in forums?

 

I have been trying to get a particular effect with numbered (or lettered) lists but am having no succcess up to now.

What I am trying to do may not be possible, or it may be something simple that I am missing.

 

What I want to do is make the number (or letter) appear in bold.

 

Eg. the standard list command.

[list=1]

[*] Item.

[*] Item.

[*] Item.

[/list]

gives:

 

  1. Item.
  2. Item.
  3. Item.

 

But how do I get the numbers only to appear bold? (not the items, that's easy and does make the numbers bold as well).

 

I've tried

[list=[b]1[/b]] and [b][list=1][/b]

and similar variations but to no avail.

I've also tried messing about with the fonts, but it seems that the number always takes the same formatting as it's particular item.

 

Anyone point me in the right direction, or confirm that this is not possible?

Link to comment
Share on other sites

  • 2 weeks later...

With 190+ views and no answers I have to conclude that BBcode just isn't up to this.

(HTML5 may be, but most forums won't let you use HTML anymore, for security reasons).

 

Would have been a nice touch to have the list numbers stand out from the text.

I use lists quite a bit on a disability forum, to explain benefit legislation, give alternative courses of action, etc.

Some members there can have problems reading, or even seeing the screen clearly, so anything that makes the posts there clearer is appreciated.

 

Thanks to all who took a look.

If I do find a way to do it, I'll share it on here.

Link to comment
Share on other sites

Have no idea of what your doing but have you tried using Word and save as Html ?

 

<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=Generator content="Microsoft Word 12 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin-top:0cm;
margin-right:0cm;
margin-bottom:10.0pt;
margin-left:0cm;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
.MsoPapDefault
{margin-bottom:10.0pt;
line-height:115%;}
@page WordSection1
{size:595.3pt 841.9pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
-->
</style>

</head>

<body lang=EN-AU>

<div class=WordSection1>

<p class=MsoNormal><b>1.</b> Item 1</p>

<p class=MsoNormal><b>2</b>. Item2</p>

<p class=MsoNormal><b>3.</b> Item 3</p>

</div>

</body>

</html>

Link to comment
Share on other sites

Cheers Bigal,

 

All I was after was to create lists in forum posts where the item number was bold but not the body text.

 

Most forums will not process HTML that is part of a post, for security reasons, which is why the BBcode implementation of HTML was created.

 

You can of course create lists within posts manualy with any formating that you want.

It would have been nice though if it could have been done automaticaly using a variation of the BBcode 'list /list' tags.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...