WordPress.org

Ready to get started?Download WordPress

Forums

Image is offset to the right even though I have coded it to be centered (5 posts)

  1. R_S_I
    Member
    Posted 6 months ago #

    Hi everyone,
    I've been trying in vain to centre an image on one of my pages. I thought I'd coded for it but obviously I've missed something. The page is:
    http://rowanibbeken.co.uk/?page_id=422" and the code for the image is: `<p style="text-align: center;">
    <img class="wp-image-423 aligncenter" style="border: 5px solid white;" alt="Under the Bridge-2 medium" src="http://rowanibbeken.co.uk/wp-content/uploads/2014/01/Under-the-Bridge-2-medium.jpg" width="965" height="641" />
    </p>`
    Any help would be much appreciated.
    Thanks!
    Rowan

  2. alchymyth
    The Sweeper & Moderator
    Posted 6 months ago #

    the image seems to be centered (at least in a laptop screen, firefox browser); however, there is a problem when viewing in a narrow browser window, but that does not seem to be caused by the image.

    what browser and what screen size are you using to view your site?

    if you think the problem is caused by your theme, please contact the theme's developer for support; http://codex.wordpress.org/Forum_Welcome#Commercial_Products

  3. R_S_I
    Member
    Posted 6 months ago #

    I'm using a 20 inch 1680x1050 monitor using firefox.

  4. R_S_I
    Member
    Posted 6 months ago #

    Viewing on other browsers it is shifted to the right as well

  5. WPyogi
    Volunteer Moderator
    Posted 6 months ago #

    Looks centered to me as well. Have you tried clearing your browser cache?

Reply

You must log in to post.

About this Topic