Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    May 2009
    Posts
    413
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default 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.
    20 years a Zencart User

 

 

Similar Threads

  1. v151 Disable CSS buttons for some buttons and not others
    By longstockings in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 16 Nov 2013, 04:00 PM
  2. Centering my add this buttons
    By mighty midget in forum General Questions
    Replies: 3
    Last Post: 19 Dec 2011, 02:24 PM
  3. Editing Menu buttons and centering them.
    By fw541c in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Aug 2010, 09:28 AM
  4. centering friend and review buttons
    By tlyczko in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Sep 2008, 01:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg