The Arcive of vBulletin Modifications Site. |
|
This should be very easy :) Details »»
|
|||||||||||||||||||||||||
I have the following code in my admin/functions.php file
Code:
return "<table border=\"0\" align=\"center\" width=\"96%\" cellpadding=\"3\"><tr><td><smallfont><b>code:</b> (double-click to copy to clipboard)</smallfont></td></tr><tr><td style=\"BORDER: #4C657E 1px solid; FONT-SIZE: 11px; COLOR: {codefontcolor}; FONT-FAMILY: Verdana,Arial; BACKGROUND-COLOR: {codebackground};\"><pre>" . $foundcode . "</pre></td></tr></table>";
}
But I want it like it is right here, on the right side. I tried adding : align "right" and <td align="right"> to no result (get parse errors) So please tell me how to make it so that it's alligned on the right side of the box TNX !!!! Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
have you tried align=\"right\"?? for ex.
Code:
return "<table border=\"0\" align=\"right\" width=\"96%\" cellpadding=\"3\"><tr><td><smallfont><b>code:</b> (double-click to copy to clipboard)</smallfont></td></tr><tr><td style=\"BORDER: #4C657E 1px solid; FONT-SIZE: 11px; COLOR: #EEEEFF; FONT-FAMILY: Verdana,Arial; BACKGROUND-COLOR: #1D6AA0;\"><pre>" . $foundcode . "</pre></td></tr></table>"; } |
|
#3
|
|||
|
|||
|
Quote:
(gives parse errors like the others I tried)
|
|
#4
|
||||
|
||||
|
what does the error say??
|
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
||||
|
||||
|
You might want to try adding a TD
Code:
return "<table border=\"0\" align=\"right\" width=\"96%\" cellpadding=\"3\"><tr><td><smallfont><b>code:</b></smallfont></td><td align=\"right\"><smallfont>(double-click to copy to clipboard)</smallfont></td></tr><tr><td style=\"BORDER: #4C657E 1px solid; FONT-SIZE: 11px; COLOR: #EEEEFF; FONT-FAMILY: Verdana,Arial; BACKGROUND-COLOR: #1D6AA0;\"><pre>" . $foundcode . "</pre></td></tr></table>"; } |
|
#7
|
||||
|
||||
|
PHP Code:
|
|
#8
|
||||
|
||||
|
Huh?
AFAIK <align> isn't even a valid HTML-element... |
![]() |
|
|