Forums / Templates, Stylesheets, Page Layout / Weird spacing Issues on account_history_info page, bug? or css?

Weird spacing Issues on account_history_info page, bug? or css?

Locked

Views: 845

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
18 Jan 2009, 5:13 AM
#1
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Weird spacing Issues on account_history_info page, bug? or css?

On my account_history_info page, the date and status info are next to each other with no space (see jpg).

When I cut and paste the troubled areas I see there is a "tab" in between them that the browser in ignoring.

As seen in a text editor:

 	01/17/2009  	Pending

As seen in the browsers FF, Safari, Camino (jpeg).

I messed around with the css, but could not move the above....so I hardcoded a   on the tpl_account_history_info_default.php:

line 102:

<tr>
        <td><?php echo zen_date_short($statuses['date_added']); ?> </td>
        <td><?php echo $statuses['orders_status_name']; ?></td>
        <td><?php echo (empty($statuses['comments']) ? ' ' : nl2br(zen_output_string_protected($statuses['comments']))); ?><br /><br /><br /><br /><br /></td> 
     </tr>

All the <br />'s are addressing a much needed space in between orders which seem to be somehow related to more invisible tabs...

Is it just my template (Simple Zen) or is this a bug?

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

18 Jan 2009, 3:56 PM
#2
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Weird spacing Issues on account_history_info page, bug? or css?

We can't tell anything from a picture. Link to the site? And in this case maybe a test account login so we can check out the order status without going through the process of creating a fake order.

Rob

Breakfast: the most important donut of the day.

18 Jan 2009, 5:04 PM
#3
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Weird spacing Issues on account_history_info page, bug? or css?

I did some more testing and found the issue is due a long ADMIN comment field (see jpegs) I fixed the issue in my post above with simple zen template, I thought other carts/templates might have the same issue and had a css fix? my cart is not available for testing but if you want to see: simple zen's behavior click here.

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41