Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / CSS for images within a particular sidebox

CSS for images within a particular sidebox

Locked

Views: 570

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Oct 2010, 6:15 AM
#1
specopkirbs avatar

specopkirbs

New Zenner

Join Date:
Sep 2010
Posts:
6
Plugin Contributions:
0

CSS for images within a particular sidebox

im looking for a solution to get the images in a particular sidebox to float right.
The sidebox mod comes with its own css file however when i edit it to float images to the right all the images in the store float to the right.
Its actually a shopping cart sidebox mod to show product images and a checkout button.
Could someone tell me how to float images to the right just for that particular sidebox and no others?
Thanks in advance guys

28 Oct 2010, 6:22 AM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: CSS for images within a particular sidebox

Got a URL for us?

28 Oct 2010, 9:37 AM
#3
specopkirbs avatar

specopkirbs

New Zenner

Join Date:
Sep 2010
Posts:
6
Plugin Contributions:
0

Re: CSS for images within a particular sidebox

hey Get Em Fast
the URL is http://opmassive.com
thanks again in advance

28 Oct 2010, 12:49 PM
#4
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: CSS for images within a particular sidebox

Sorry I didn't get back sooner. I used the float: right on that, and to me it looked bad, so I played around with it a bit and found that this looked neater and more organized to me:

#cartBoxListWrapper img {margin: 0 75%;}

Anyway, that's the code you're looking for, so if you don't like the looks of it this way, you can change it.

Hope this helps.

28 Oct 2010, 12:56 PM
#5
specopkirbs avatar

specopkirbs

New Zenner

Join Date:
Sep 2010
Posts:
6
Plugin Contributions:
0

Re: CSS for images within a particular sidebox

hey bud,
thanks for that ive opted for the img float right however thanks for giving me the rest of the code works a treat

:)