PDA

View Full Version : help with table


sml
01-25-2008, 07:20 PM
Hi all - thanks in advance for your help!

I have created a merchandise templat for members to have easier acces to common questions about it... anywho, I decided to "upgrade" the flow. As you can see in the picture below, I am having trouble getting rid of the borders, or cellpadding, or whatever! Help me if you can! :D

https://vborg.vbsupport.ru/external/2008/01/9.jpg

and my code:


<!-- item 1 -->
<td class="page" width="33%">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<div class="smallfont">
<tr>
<td class="tcat" colspan="2">
Premium Memberships
</td>
</tr>
<tr>
<td class="thead" align="center">Image
</td>
<td class="thead">Pricing</td>
</tr>
<td class="alt1" align="center"><img src="http://www.projektgerman.com/forums/images/goodstuff/premium.gif" />
</td>
<!-- I am assuming my problem is somewhere in here -->
<td cellpadding="0" cellspacing="0">
<table class="tborder" border="0" width="100%">
<tr>
<td class="alt1">
<div class="smallfont">
<strong><u>Public Pricing</u></strong><br />Item:<br />Tax:<br />Total:
</div>
</td>
</tr>
<tr>
<td class="alt2">
<div class="smallfont">
<strong><u>Premium Pricing</u></strong><br />Item:<br /><Tax:<br />Total:
</div>
</td>
</tr>
</table>
</td>
<!-- /I am assuming my problem is somewhere in here -->
</tr>
<tr>
<td class="thead" colspan="2">Description
</td>
</tr>
<tr>
<td class="alt2" colspan="2">
<div class="smallfont" align="justify">&nbsp&nbsp
Premium memberships are for persons who will be buying items from PKG or just wanting to help support the site! If you do not plan on buying any items from PKG then the premium membership might not be for you. This membership gains you advantages over a regular membership. These features include;<strong> a larger pm box, able to search private messages, premium banner in forums, customizable user titles, one PkG decal, five PkG cards, and premium pricing on GoodStuff</strong>!
</div>
</td>
</tr>
</table>
</td>
<!-- /item 1 -->

Loanmanken
01-25-2008, 08:24 PM
Try looking at the skin css atributes in your acp under the "all style options" drop down menu.

sml
01-25-2008, 08:38 PM
Try looking at the skin css atributes in your acp under the "all style options" drop down menu.

I think what you are telling me is to check the css for the "dark" skin and see if it is putting the border there?

I could probably change that, with alot of time, i am no good at css :p

but i would not want to change the settings for the rest of the site, i have been able to get rid of those "borders" or padding before, i just cant remember how! :mad:

Loanmanken
01-25-2008, 08:44 PM
Well the only other idea that I have is to place a (width="100%") into here (<div class="smallfont">) not sure if that will work but it won't hurt to try...

<div width="100% class="smallfont">

sml
01-25-2008, 09:03 PM
thanks - i think i am going to have to just break down and keep working on it :tu:

sml
01-30-2008, 08:15 PM
i finally started thinking like a san person and just used the rowspan attribute. wow, that was easier then i was making it!~