X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   trouble coloring in table (https://forum.x-cart.com/showthread.php?t=17696)

mmoskva 11-02-2005 06:30 AM

trouble coloring in table
 
I trying to color in my table but I can seem to get a certain area colored in white to match the background. if someone could help me out. (its the space between the tables.

I dont know how to enter a class within td area that looks like this?
<td></td>


http://www.michaelmoskva.com/table/table.htm

My Table code:
Code:


{* $Id: pages.tpl,v 1.3.2.1 2005/01/19 06:42:51 max Exp $ *}
{if $printable ne ''}
{include file="customer/home_printable.tpl"}
{else}
{ config_load file="$skin_config" }
<HTML>
<HEAD>
<TITLE>
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{$location[position].0|escape}
{if not %position.last%} :: {/if}
{/section}
{else}
{section name=position loop=$location step=-1}
{$location[position].0|escape}
{if not %position.last%} :: {/if}
{/section}
{/if}
</TITLE>
{ include file="meta.tpl" }
<LINK rel="stylesheet" href="{$SkinDir}/{#CSSFile#}">
</HEAD>
<BODY leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
{ include file="rectangle_top.tpl" }
{ include file="head.tpl" }
{if $active_modules.SnS_connector}
{include file="modules/SnS_connector/header.tpl"}
{/if}
<TABLE border="0" width="100%" cellpadding="0" cellspacing="0" class="WhiteBgsignin">

<TR><TD colspan=3 class=HeadText>{$lng.txt_sign_in}</td></TR>
<TR><TD colspan=3 height=15></td></TR>
<TR>
        <td></td>
        <td width="100%">
                <TABLE border="0" width="100%" cellpadding="0" cellspacing="0">
                <tr>
                <td>                        <TABLE border="0" width="100%" cellpadding="1" cellspacing="1">
                        <tr>
                                <td class=big_text>{$lng.lbl_sign_in}</td>
                                <td></td>
                                <td class=big_text>{$lng.lbl_register_now}</td>
                        </tr>

                        <tr>
                                <td class=NavDialogBox_ width="50%" valign=top>
                                {if $smarty.get.er eq "login_incorrect"}{$lng.err_login_incorrect}
{/if}

                                <TABLE border="0" width="100%" cellpadding="1" cellspacing="1" align="center" class=HightLightRow>
                                <tr> <td class=NavDialogBox_ width="50%">{ include file="auth_customer.tpl" }</td> </tr>
                                </TABLE>
                                </td>
                               
                                <td class=NavDialogBox_></td>
                                <td class=NavDialogBox_ width="50%" valign=top>
                                <TABLE border="0" width="100%" cellpadding="1" cellspacing="1" align="center" class=HightLightRow>
                                <tr>
                                        <td class=NavDialogBox_ width="50%">
                                                <TABLE border="0" width="100%" cellpadding="7" cellspacing="7" align="center">
                                                <tr><td>
                                                <font class=SubHeader2>{$lng.lbl_registration_simple}</font>
                                                <font class="register_top"><u>{$lng.lbl_click_here}</u></font>


                                                <font class=SubHeader2>{$lng.lbl_benefit_registration}</font>
                                                </td></tr></table>
                                        </td>
                                </tr>
                                </TABLE>
                                </td>

                        </tr>
                       
                        </TABLE>
                        </td>
                </tr>
                </table>
        </td>
        <td></td>
</TR>
</TABLE>
</TD>
{ include file="rectangle_bottom.tpl" }
</BODY>
</HTML>
{/if}


balinor 11-02-2005 06:38 AM

You just need to make the background color for the table that contains those two boxes white. Either call a class from your stylesheet or use bgcolor.

mmoskva 11-02-2005 07:04 AM

Now, I cant seem to get the bottom under the left table a white color.
Can you take a look at my code for the table and help me out.

White background class in my css called .WhiteBgsignin

Image of problem:

http://<a href="http://www.michaelmoskva.com/table/table.htm" target="_blank">http://www.michaelmoskva.com.../table.htm</a>

My code for the table

To me it look like the area under this code but i dont know?:
<tr> <td class=NavDialogBox_ width="50%">{ include file="auth_customer.tpl" }</td> </tr>

Code:


<TABLE border="0" width="100%" cellpadding="0" cellspacing="0" class="WhiteBgsignin">

<TR><TD colspan=3 class=HeadText>{$lng.txt_sign_in}</td></TR>
<TR><TD colspan=3 height=15></td></TR>
<TR>
        <td></td>
        <td width="100%">
                <TABLE border="0" width="100%" cellpadding="0" cellspacing="0">
                <tr>
                <td>                        <TABLE border="0" width="100%" cellpadding="1" cellspacing="1">
                        <tr>
                                <td class=big_text>{$lng.lbl_sign_in}</td>
                                <td class=WhiteBgsignin></td>
                                <td class=big_text>{$lng.lbl_register_now}</td>
                        </tr>

                        <tr>
                                <td class=NavDialogBox_ width="50%" valign=top>
                                {if $smarty.get.er eq "login_incorrect"}{$lng.err_login_incorrect}
{/if}

                                <TABLE border="0" width="100%" cellpadding="1" cellspacing="1" align="center" class=HightLightRow>
                                <tr> <td class=NavDialogBox_ width="50%">{ include file="auth_customer.tpl" }</td> </tr>
                                </TABLE>
                                </td>
                               
                                <td class=WhiteBgsignin></td>
                                <td class=NavDialogBox_ width="50%" valign=top>
                                <TABLE border="0" width="100%" cellpadding="1" cellspacing="1" align="center" class=HightLightRow>
                                <tr>
                                        <td class=NavDialogBox_ width="50%">
                                                <TABLE border="0" width="100%" cellpadding="7" cellspacing="7" align="center">
                                                <tr><td>
                                                <font class=SubHeader2>{$lng.lbl_registration_simple}</font>
                                                <font class="register_top"><u>{$lng.lbl_click_here}</u></font>


                                                <font class=SubHeader2>{$lng.lbl_benefit_registration}</font>
                                                </td></tr></table>
                                        </td>
                                </tr>
                                </TABLE>
                                </td>

                        </tr>
                       
                        </TABLE>
                        </td>
                </tr>
                </table>
        </td>
        <td></td>
</TR>
</TABLE>
</TD>
{ include file="rectangle_bottom.tpl" }
</BODY>
</HTML>
{/if}

[/b]

balinor 11-02-2005 07:10 AM

Look like it is this table causing the issue:

<TABLE border="0" width="100%" cellpadding="1" cellspacing="1" align="center" class=HightLightRow>

mmoskva 11-02-2005 07:26 AM

what do i do? I changed the class from the line that youshowed me to my white backgrond but it just adjusted the boarder of the table to white..

balinor 11-02-2005 07:32 AM

You have so many nested tables in there you are just going to have to try adding a white class to each one until you figure out which one it is.


All times are GMT -8. The time now is 05:03 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.