The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to center text
How do I left aligned the text to this hack? Im using the hack directly from
https://vborg.vbsupport.ru/showthread.php?t=123117 Heres image attached (You can view it better at http://img255.imageshack.us/img255/4944/centerlg1.jpg) |
#2
|
||||
|
||||
Anyone?
|
#3
|
||||
|
||||
Put div tags around it:
HTML Code:
<div align="center">Text to be Centered</div> |
#4
|
||||
|
||||
Oops I meant to left align not center sorry.. it is centered already....
Heres my code Code:
<!-- Infobar (hack) --> <if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')"> <div id="infobar"><a href="http://www.pirator.net/forums/register.php?"><p>It appears you have not yet registered to Pirator. To register please click here...</p></a></div> </if> <!-- End Infobar --> |
#5
|
||||
|
||||
Then perhaps try this:
HTML Code:
<!-- Infobar (hack) --> <if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')"> <div align="left" id="infobar"><a href="http://www.pirator.net/forums/register.php?"><p>It appears you have not yet registered to Pirator. To register please click here...</p></a></div> </if> <!-- End Infobar --> edit to add: If that DIV tag is within a TD tag, you may need to align that TD left or align the TR left. (Sorry I can't be more specific on that, I'm a Try-It-And-See type person. ) |
#6
|
||||
|
||||
Your code worked thanks xP
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|