View Full Version : I need some help with coding....
Twilight
07-27-2007, 12:48 AM
Well..yeah. I need some help with PHP coding.
Basically, I want to know how to turn the table coding...into ONE column...not two. I don't even know it...as funny as that may seem but...what do I change to make it only one column? This is the coding:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
That is the coding for the table at least...
Nickelback
07-27-2007, 12:59 AM
I'm sorry? I have absolutely NO idea what you're talking about. That little code snippet confuses me even more.
Snips
07-27-2007, 01:04 AM
Well..yeah. I need some help with PHP coding.
You lost me right there. I know HTML, that's it 0_o
Chicken Little
07-27-2007, 03:40 AM
I'm sorry? I have absolutely NO idea what you're talking about. That little code snippet confuses me even more.
he has a table of 2 column width and wants to change it into 1 column width.
in effect he has this:
|_|_|
And wants to change it to:
|_|
I haven't touched php in a few years so I'm not gonna bother attempting to find a solution.
Nickelback
07-27-2007, 10:09 AM
There's really nothing in there that defines TWO columns, only one.
Twilight
07-28-2007, 06:52 PM
I know....But....no matter what I try to re code in that coding...it's always two columns...it has a seperation right down the middle. I figured it had something to do with the tborder table class but...if I remove that, it gets rid of the dark line dividing the two columns and turns them into two columns with no border...which is aggrivating.
I haven't touched PHP in years either...and having to re code the entirety of a website isn't fun with as little knowledge as I've got...
C'mon mister coder. You're supposed to know it all. :D
EDIT: I basically want it to look like this...like GW:
http://i207.photobucket.com/albums/bb1/Mahar_89/table.jpg
How do I make it like THAT. I know where the coding to show the moderators are but...I just need to know how to make that stupid table. If I can know that..I can make it into my own little version. I can't ask Ben or Brig because they are on Vacation. Although I talk to Brig frequently.
Nickelback
07-28-2007, 11:13 PM
Oh. That. Well thank you for providing some example rather than like LOL THIS IS WHUT I WANT (No offense but you had me completely confused)
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td class="thead">This forum is moderated by:</td>
</tr>
<tr>
<td class="alt1">
<div class="smallfont">
<a href="member.php?$session[sessionurl]u=$moderator[userid]">$moderator[musername]</a>
</div>
</td>
</tr>
</table>
Now, if I understood correctly what you wanted, that should do it. Keep in mind, also, that you won't see the border too well on GW because their border color is white, this is mixes in rather well with the peachy primary color.
I hope I didn't miss a tag or anything while constructing that! Oh well you'll find out. : D
Twilight
07-31-2007, 12:28 AM
Have my babies....actually, don't.
It works though so...it's all good. Although, I'd like to know...bleh, how do I make it not appear if there is no moderator?
Like, if there is no moderator, the table doesn't appear....if there is...it does appear.
:D
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.