Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Align text via RWD on a page

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #145749
    taneis
    Participant

    I’d like to align my “Read 6 reviews” and “Write a review” text on a page, but do it without static elements to ensure that it remains responsive (If I understand RWD correctly…setting things statically is a no-no).

    My link:
    http://rsatestamls.kaliocommerce.com/SimpleProduct.aspx?p=VP-TUBX

    I’ve tried stuff like:
    margin-left:auto
    margin-right:auto
    display:block

    But that hasn’t done a single thing to it. Any ideas, guys?

    Also, in general, any tips on the site are welcome! It’s in my staging environment still, so not even close to being finished

    :-)

    Thanks!

    #145754
    Magpie
    Participant

    Hi tanies,

    Not sure where you want to align them, but I’m thinking you mean you want to centre them underneath the product description. You could try:

    span#review-summary {
      text-align: center;
    }
    
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.