Support » Themes and Templates » Image is offset to the right even though I have coded it to be centered

  • R_S_I

    (@r_s_i)


    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    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

    R_S_I

    (@r_s_i)

    I’m using a 20 inch 1680×1050 monitor using firefox.

    R_S_I

    (@r_s_i)

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

    WPyogi

    (@wpyogi)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image is offset to the right even though I have coded it to be centered’ is closed to new replies.