View Single Post
  #1  
Old 11-07-2005, 06:59 AM
 
mmoskva mmoskva is offline
 

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

Default button classes dont display correctly

I want to move buttons from 1 table location into another but when I do that my button classes don't display correctly.

Here is a link show a graphic of my problem:
http://www.michaelmoskva.com/image7profile/buttonsdisplay.htm

I posted the code. If someone can take a look at it and help me out.

Here is my code for the center table were the button are giving me trouble. Its located at the line that says <img src> "A href"
Code:
<td><table border="0" width="100%" cellpadding="0" cellspacing="1"> <tr> <td class=NavDialogBox_ width="50%" valign=top> <font class=SubHeader2>[img]{$ImagesDir}/spacer.gif[/img]{$login}</font> <font class=SubHeader2>[img]{$ImagesDir}/spacer.gif[/img]{$lng.txt_email_preference}{$lng.txt_email_confirmations}</font> [img]{$ImagesDir}/spacer.gif[/img] <span>{$lng.lbl_modify_profile}</span> [img]{$ImagesDir}/spacer.gif[/img] <span> {$lng.lbl_delete_profile}</span> <table border="0" width="100%" cellpadding="0" cellspacing="1" align="center" class=NavDialogBox_> </table></td>

Here is my code for the buttons that are display correctly. Its located at the "onclick":
Code:
<table border="0" cellpadding="0" cellspacing="0"> <tr height=25> <td onClick="javascript:self.location='register.php?mode=update'" class=new_button_gr style='cursor:pointer' align=center>{$lng.lbl_modify_profile}</td><td width=4></td> <td onClick="javascript:self.location='register.php?mode=delete'" class=new_button_gr style='cursor:pointer' align=center>{$lng.lbl_delete_profile}</td><td width=4></td> <td onClick="javascript:self.location='orders.php'" class=new_button_gr style='cursor:pointer' align=center>{$lng.lbl_orders_history}</td><td width=4></td> </tr>
[/b]
__________________
x-cart 4.0.16v
linux server
Reply With Quote