Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / 1.3.7 stylesheet inquiry.

1.3.7 stylesheet inquiry.

Locked

Views: 1,251

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
14 May 2007, 9:37 AM
#1
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

1.3.7 stylesheet inquiry.

I couldn't find any relevant posts, concerning this query. I just started looking through the brand new stylesheet, comparing it to the last and noticed something odd.

One of the changes have to do with an addition to this .forward Selector block:

.forward, #shoppingCartDefault #PPECbutton {
	float: right;
	}

I don't see a comma separating the additional Selectors... #shoppingCartDefault and #PPECbutton. This occurs in both Classic and Default stylesheets. I've installed a fresh 1.3.7 version and the security patch. If this occurrence has been brought up before, my apologies. I must know, at any rate, before I drive myself mad. :laugh:

14 May 2007, 12:11 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: 1.3.7 stylesheet inquiry.

That is specifically intentional.

That means that the "float: right;" applies to both cases:

  1. .forward,
  2. #shoppingCartDefault #PPECbutton

and the compound case of
#shoppingCartDefault #PPECbutton

... means the #PPECbutton which appears inside the #shoppingCartDefault object.

14 May 2007, 11:58 PM
#3
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: 1.3.7 stylesheet inquiry.

Thanks for the fast reply and the explanation, you're quite the doctor and gentleman.

I wasn't sure what the new Selectors were for and why it was like that. Less confusion for me equals a better quality of life. :laugh: