Centering a table within an I-frame

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Danny Canada
    Second Lieutenant

    • Apr 2007
    • 121

    Centering a table within an I-frame

    Just a quick question:

    I have insert a table within an I-frame on a template. What is the best way to have the table centered inside the I-frame?

    Thanks!

    Danny
  • Collectors-info
    General

    • Feb 2006
    • 8703

    #2
    Re: Centering a table within an I-frame

    Hi, I take it the table is on the p[age that the iframe is calling for.? If so,
    ·Click on the iframe on your main page to see what size it is.
    Lest say you made it 500X500
    ·Now go to the page that you are going to use in the iframe. If your table is 400x400, you should place the table in the top left hand corner of the page & drag it down by 50 & across to the right by 50. This should be centre in the iframe.



    Remember to make sure the centre in page box is not ticket in the page properties .



    Good luck.
    Regards Chris.

    Collectables, Collecting, collectors-info.com

    www.chrismorris.co.uk

    House build project

    Comment

    • navaldesign
      General & Forum Moderator

      • Oct 2005
      • 12080

      #3
      Re: Centering a table within an I-frame

      Originally posted by Collectors-info
      Hi, I take it the table is on the p[age that the iframe is calling for.? If so,
      ·Click on the iframe on your main page to see what size it is.
      Lest say you made it 500X500
      ·Now go to the page that you are going to use in the iframe. If your table is 400x400, you should place the table in the top left hand corner of the page & drag it down by 50 & across to the right by 50. This should be centre in the iframe.



      Remember to make sure the centre in page box is not ticket in the page properties .



      Good luck.
      Hi Chris,

      i understand manually centering in the vertical dimension. But why not simply "center in Browser" for the horizontal alignment ?
      Navaldesign
      Logger Lite: Low Cost, Customizable, multifeatured Login script
      Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
      DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
      Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

      Comment

      • Collectors-info
        General

        • Feb 2006
        • 8703

        #4
        Re: Centering a table within an I-frame

        Oh alright then! Naval is right. LOL Not sure what made me think of that centring part? (Must be the beer) Little sample just to check this is was what you were after. http://www.collectors-info.com/testing/2if.html
        Regards Chris.

        Collectables, Collecting, collectors-info.com

        www.chrismorris.co.uk

        House build project

        Comment

        • Danny Canada
          Second Lieutenant

          • Apr 2007
          • 121

          #5
          Re: Centering a table within an I-frame

          Thanks guys!

          The two samples in your link look identical

          Comment

          • Collectors-info
            General

            • Feb 2006
            • 8703

            #6
            Re: Centering a table within an I-frame

            Originally posted by Danny Canada
            Thanks guys!

            The two samples in your link look identical


            Don’t worry! It works either way with the centre in page box ticked or not. (I wasn’t thinking when I posted) That was me just testing. LOL

            Good luck.
            Regards Chris.

            Collectables, Collecting, collectors-info.com

            www.chrismorris.co.uk

            House build project

            Comment

            Working...
            X