skip to Main Content

I very limited knowledge when it comes to HTML and so I’m a bit stuck on how to centre a button on my contact page. When I go to the visual in WP and centre the button, it still comes out on the left of the page. Here’s what I have so far:

<iframe frameborder='0' height='28' scrolling='no' src='https://counselmevancouver.janeapp.com/embed/book_online' width='177'></iframe>

Can someone add the information needed to this so I can plug it into my site?
Thanks so much for your help!

2

Answers


  1. <html>
    <head>
    <style>
    .center {
      position: absolute;
      right: 50%;
    }
    </style>
    </head>
    <body>
        <div class='center'>
            <iframe frameborder='0'  height='28' scrolling='no' src='https://counselmevancouver.janeapp.com/embed/book_online' width='177'></iframe>
        </div>
    </body>
    </html>
    
    Login or Signup to reply.
  2. <iframe frameborder='0' height='28' scrolling='no' src='https://counselmevancouver.janeapp.com/embed/book_online' width='177' style="display : block; margin : auto; "></iframe>
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search