![]() |
Image alignment
I did some digging and found This posted waaaaay back around here. Obviously this won't work in VB3 because the file structure and coding has changed (BB code is now handled in includes/functions_bbcodeparse.php and the preg_replace is different; img code parsing happens around line 997).
Adding a new [imgalign] BB code like suggested on that thread still works, although I'd really like to use [img=left/right/center] instead. Has anyone already figured this out? |
|
For the above I just put
Code:
[right ][/right ] Code:
[center ][/center ] Code:
[left ][/left ] |
Yes, but that only shifts the image left/center/right and fails to grant the advantage of <img src="blah.gif" align="left" /> (allowing text to wrap around and float next to images).
|
Quote:
Code:
Title: Float |
Off topic ....
Quote:
|
PHP Code:
I thought we were now supposed to use < div align = "center"> </div> -- something like that anyways... no??? |
use CSS to align
this way you can use the class throughout the site HTML Code:
<span style="float:{option}">{param}</span> HTML Code:
<span class="{option}">{param}</span> HTML Code:
/*right float*/ |
All times are GMT. The time now is 12:01 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|