The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Span align question
Hi everyone,
I want to add some text to the same line in the postbit legacy template which contains the post date and post number. I've found the right location and the code I need works but I can't get it to align properly. Here's a picture of what it looks like now. First I tried: Code:
<span style="color: #a22547; text-transform: uppercase; font-weight: bold;text-align=center"> </span> |
#2
|
||||
|
||||
What is the location you added that to?
|
#3
|
|||
|
|||
Just after this bit in the legacy template:
Code:
<span class="date" style="color: #a22547; text-transform: uppercase; font-weight: bold;">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">, <span class="time" style="color: #a22547;">{vb:raw post.posttime}</span></vb:if> </span> </vb:if> |
#4
|
||||
|
||||
Try this.
Code:
<span style="color: #a22547; text-transform: uppercase; font-weight: bold; float:right;">Thread Author </span> |
#5
|
|||
|
|||
Now it's on the right side against the post number. Tried using float:center as well but didn't work.
|
#6
|
||||
|
||||
Ok try this one.
Code:
<span style="color: #a22547; text-transform: uppercase; font-weight: bold; padding-left:auto; padding-right:auto;">Thread Author </span> |
#7
|
|||
|
|||
Now it's back to the left side. I wish I had better news and I appreciate your time! |
#9
|
||||
|
||||
Maybe try:
HTML Code:
<span class="date" style="color: #a22547; text-transform: uppercase; font-weight: bold; padding-left:auto; padding-right:auto;">Thread Author </span> Quote:
|
Благодарность от: | ||
mathforum |
#10
|
|||
|
|||
@Max - still didn't work. We have a very custom forum design so maybe there is some non-standard CSS attribute messing this up. Appreciate the suggestion.
ozzy47 is taking a look at my code right now I think so we'll see what he finds. |
Благодарность от: | ||
Max Taxable |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|