Zen Cart Logo

Centering buttons

Locked

Views: 834

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
17 Jan 2010, 4:42 PM
#1
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Centering buttons

(Locally Hosted)...I currently have the review button class as class="buttonRow back" and the tell a friend button class as class="buttonRow forward"

I want to put a social bookmarking button between the two buttons in the center. I have tried class="buttonRow middle" & class="buttonRow center" but these are not working.

I have also tried <center>MYCONTENT</center> although this does center the content it places the social bookamrking button on another line.

How would I do this?

Thanks.

17 Jan 2010, 4:48 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Centering buttons

Adding the ID or CLASS to the div is stage one...

Stage two is giving that ID / CLASS a declaration in the stylesheet, so that the browser knows what to do with that div.

a text-align: center; declaration might do the trick for class buttonrow center.