Closed (fixed)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 May 2009 at 18:38 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rszrama commentedCan you post a screenshot? This is the same bit of styling we use for the PayPal WPS form and it doesn't seem to cause any troubles. : ?
Comment #2
neochief commentedYes, sure. Take a look at the in_garland.png first. As you may see, the weird code ballanced by inside table's margins, which included into garland theme.
But if your theme has no such margins (especialy top one (and you really have them removed, if you want your margins work everywhere)), the table itself became a line (as it is display:inline), so couple of buttons are alligning in a such way that shown in buggy_in_own_theme.png. And the real problem is that you can't do anything to fix it, because this styles are hardcoded into the table.
In other hand, if you remove this styles, everything will still looks great (see in_garland_fixed.png)
Comment #3
rszrama commentedComment #4
stephthegeek commentedIf the current inline styles are the ones that seem to work in Garland and some other themes, those should probably be set as the default styles for the new class as well, which can be overridden now in the theme if in a case such as yours, they need to be.
Also, only dashes should be used in css classes/IDs, so 2checkout_review_table should be 2checkout-review-table
Comment #5
Island Usurper commentedMy text editor didn't seem to like a class that started with a number, and an id seemed more appropriate to me in this case, so I called it
#two-checkout-review-table.Comment #6
stephthegeek commentedDon't have a place to test this, but code changes look good!
Comment #7
Island Usurper commentedGood enough for me. Thanks, steph.
Committed.