Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts

    Exclamation Picture captions off centre.

    I have been trying to add another div to the right of my page and in so doing, Frankie has somehow boobed. The image captions have moved sidewise and are no longer centred under the image.

    I really would appreciate some help with this problem.


    The page is here.


    Frank.

    Page edited to avoid confusion.
    Last edited by effpeetee; 05-22-2010 at 05:27 PM.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #2
    New to the CF scene
    Join Date
    May 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by effpeetee View Post
    I have been trying to add another div to the right of my page and in so doing, Frankie has somehow boobed. The post image captions have tried to follow it. I really want them to centre on the image as they used to do. I have been unable to determin what controls them. My two memory cells are on the blink.

    I really would appreciate some GPS on this problem.

    The culprit's here.


    Frank.
    This post =



    I have no idea what you mean

  • #3
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Sorry for the banter,, If you select an item from the left hand menu, it puts an image up and a caption below. The caption was/should be centred to the image. It isn't and I don't know why. I have done nothing conciously to the code to alter this and i am baffled.

    Frank
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #4
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,739
    Thanks
    22
    Thanked 1,837 Times in 1,821 Posts
    Good Morning Frank - at least it's morning here.

    Have a go with this -
    Code:
    #image-holder {
      margin: 0 18% 0 18%;
      text-align: center;
     
      border: #f00;
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    effpeetee (05-22-2010)

  • #5
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Thanks a lot Excavator. I have had one of those days. My body has been reminding me all day that I am no longer a spring chicken. I have been playing with this all day but just couldn't seem to find where to correct. Because the image is controlled using Javascript, which is my worst coding subject, I was misled as to what to alter. I shall have to rename my site - The Coding Forums amalgamated website. You have all been very patient with me and it is much appreciated.

    Frank - alias effpeetee.

    It's here for you to see.
    Last edited by effpeetee; 05-22-2010 at 06:55 PM.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.


  •  

    Posting Permissions

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