Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

trouble coloring in table

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-02-2005, 06:30 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default 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}
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #2  
Old 11-02-2005, 06:38 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-02-2005, 07:04 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

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]
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #4  
Old 11-02-2005, 07:10 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Look like it is this table causing the issue:

<TABLE border="0" width="100%" cellpadding="1" cellspacing="1" align="center" class=HightLightRow>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 11-02-2005, 07:26 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

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..
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #6  
Old 11-02-2005, 07:32 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020