The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Auto align images in posts
I asked this a while back and got Lynne a little confused as to what I was wanting to do.
Here's the Readers Digest version of what that was about. I asked if it was possible to have VB center align images that didn't completely fill out the width of the post. General consensus was it's not possible. Uh huh... I found 2 css entries in postbit.css that do have a direct affect on how the content is displayed. Code:
.postcontent { word-wrap: break-word; } Code:
.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img { max-width: {vb:stylevar image_medium_max}; } So now a little progress has been made in the right direction as in finding what controls the images in posts. Now my question is what would be the correct instruction and its syntax to make the second code block center images all by itself? Reason being I may post a small image that doesn't get resized but still needs to be centered up in the post. BTW in the posts with images there will be no text. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|