The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Auto center image
Hi.
I want pictures of my posts will automatically center Its possible? Thanks |
#2
|
||||
|
||||
Try adding the following selector to your "additional.css" template:
HTML Code:
.postcontent img { display: block; margin-left: auto; margin-right: auto; } |
#3
|
|||
|
|||
Quote:
Thank you very much --------------- Added [DATE]1459343112[/DATE] at [TIME]1459343112[/TIME] --------------- There is a problem, emoticons also come centered. any solution? Thanks --------------- Added [DATE]1459343169[/DATE] at [TIME]1459343169[/TIME] --------------- Quote:
any solution? Thanks |
Благодарность от: | ||
MarkFL |
#4
|
|||
|
|||
any solution?
Thanks |
#5
|
||||
|
||||
Sorry, when posts get merged, they don't show up in the "New Posts" search...anyway, change the selector to:
HTML Code:
.postcontent img:not(.inlineimg) { display: block; margin-left: auto; margin-right: auto; } |
Благодарность от: | ||
Ladillaxx |
#6
|
|||
|
|||
Its fine
Thank you very much --------------- Added [DATE]1459453961[/DATE] at [TIME]1459453961[/TIME] --------------- Sorry @MarkFL to center videos also? Thanks |
#7
|
||||
|
||||
Quote:
HTML Code:
.postcontent img:not(.inlineimg), .postcontent .restrain { display: block; margin-left: auto; margin-right: auto; } |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|