bfraser4070
Newbie
Posts: 1
Registered: 10/20/2006
Member Is Offline
|
| posted on 10/20/2006 at 08:06 AM |
|
|
Table Alignment
I have include your calendar in a web page.
It is in a table cell.
There is a large space to the left of the input box.
Tried <TD align="left">
Any idea why this may be occurring?
Thanks
|
|
|
tigra
Administrator
Posts: 1982
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 10/20/2006 at 10:42 AM |
|
|
we'll need to see the live code to suggest the approach. please submit the support ticket attaching the zip package with all the files needed to
reproduce the problem.
|
|
|
j_haus22
Junior Member
Posts: 2
Registered: 11/24/2008
Location: Ontario
Member Is Offline
|
| posted on 11/24/2008 at 05:00 PM |
|
|
alignment
has there been a solution posted to this problem? if not, i am having the same issue and need a hand.
my code says:
<table>
<tr>
<td>
Contact Date:(mm/dd/yyyy)<br><script language="JavaScript">new calendar(CAL_INIT1, CAL_TPL);</script>
</td>
</tr>
</table>
there is large white space to the left of the calendar. i need it aligned left in this cell.
|
|
|
tigra
Administrator
Posts: 1982
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 11/25/2008 at 03:44 AM |
|
|
see previous answer.
alternatively you can use DOM inspector (my favorite is firefox's firebug add-on) to determine where the gap comes from.
|
|
|
j_haus22
Junior Member
Posts: 2
Registered: 11/24/2008
Location: Ontario
Member Is Offline
|
| posted on 11/25/2008 at 03:56 PM |
|
|
solution
for future reference to anyone looking for a solution to this problem:
in tigra calendar pro, the input text box is written to the page inside a table in the file calendar.js as below.
document.write('<table border="0" cellpadding="3" cellspacing="0" align="center"><tr><td>'....
you may have to edit this to make the control fit into your own table style. to make it work in my table i changed align="center" to 'left' and
the space that appeared before the control was gone (obviously).
as suggested by the admin you can use a DOM Inspector for Firefox(not usable with the newest version) or IE Inspector for IE to see the elements in
your page.
|
|
|