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 2 of 2

Thread: Image location

  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Location
    Canada, eh!
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Image location

    Hi all,
    I am attempting to use a large image as a start page. How do I 'tell' this image to automatically center in any size browser window? What looks good on my screen bites on another.

    Still new at this........
    Thanks!

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Dallas, Texas
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb

    try this:


    <html>
    <head>

    <title>center me</title>


    <body>

    <table style="width: 100%; height: 100%; text-align: center; vertical-align: middle">
    <tr>
    <td>
    <img src="mypic.gif">
    </td>
    </tr>
    </table>
    </body>

    </html>


  •  

    Posting Permissions

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