vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Are 2 column bullets possible? (https://vborg.vbsupport.ru/showthread.php?t=262909)

plasticsurgery 04-30-2011 07:33 PM

Are 2 column bullets possible?
 
I have been searching exhaustively the past few days to find out if it's possible to setup 2 column bullets in posts. Is this possible to do in vBulletin?

Lynne 04-30-2011 10:19 PM

CSS will do it. make each of the <li> on have a width of 50%.

RobbieZ 04-30-2011 10:36 PM

You can use: ul.a {list-style-type:circle;} to create a circle in your CSS.

Then anything within <li> will have a bullet / circle before it.

plasticsurgery 05-12-2011 08:53 PM

Thanks for the replies guys! Should I do this as a separate CSS rule or can I accomplish this with a BB code of some sort?

Basically I don't want it to be 2 columns be default, but there are various reviews (made as vB posts) that contain long lists of bullets and to make them look better, I figure it would be best to have two columns. So I need to find a way to selectively use them.

If that's not possible, just a selective way to create 2 columns of text within vB posts could work, too.

Thanks!

Lynne 05-12-2011 09:18 PM

If you don't want it by default, then I would suggest a bbcode that adds a class to the list and you can write the css for that class in your additional.css template.

plasticsurgery 05-13-2011 01:54 PM

Thanks Lynne! So I would just enclose the list with the BB code, like this:

[twocolumn]
  • bullet one
  • bullet two
  • bullet three
[/twocolumn]

By any chance would you be able to post an example of what should be entered into the BB code and additional CSS rule?

Thanks so much!

Lynne 05-13-2011 05:02 PM

Just something like this (from the article I wrote):
HTML Code:

/* For [2c] BBCode */
.twocolumn ul  {
  float: left;
  width: 90%;
  margin: 0 0 0 1em;
  padding: 0;
}
.twocolumn li {
  float: left;
  width: 50%;
  margin: 0;
  padding: 0;
  clear:none;
}



All times are GMT. The time now is 04:55 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.00956 seconds
  • Memory Usage 1,717KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete