Results 1 to 3 of 3

Thread: image aligning question

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Location
    didn't decide yet
    Posts
    222

    image aligning question

    I have 2 images and i want to align the 1st one to the topleft corner of the page and the 2nd to the bottom left corner and i want exaclty align not even one pixel to be lost so that the picture can be align to the pictures from the other frames.i m using only IE

    tried that but i m loosing some pixels can anyone help
    PHP Code:
    <body leftmargin=0 topmargin=0>
    <
    table border="0" cellpadding="0" cellspacing="0" height="100%">
        <
    tr>
            <
    td height="268" width="135">
                <
    img src="toolbar.gif" width="135" height="268" border="0" alt="">
            </
    td>
        </
    tr>
        <
    tr>
            <
    td height="100%" width="135">
                <
    img src="pixel.gif" width="1" height="1" border="0" alt="">
            </
    td>
        </
    tr>
        <
    tr>
            <
    td height="139" width="135">
                <
    img src="toolbarbottom.gif" width="135" height="139" border="0" alt="">
            </
    td>
        </
    tr>
    </
    table>


    </
    body

  2. #2
    Addicted Member dmr's Avatar
    Join Date
    Jul 2000
    Location
    West-Germany :) Timezone: GMT +1 [DST] North.......: 52° 16’ 09” East...: 10° 31’ 16”
    Posts
    255

    Re: image aligning question

    PHP Code:
    <body leftmargin=0 topmargin=0>
    <
    table border="0" cellpadding="0" cellspacing="0" height="100%" [b]width="100%"[/b]>
        <
    tr>
            <
    td [b]valign="top" align="left"[/bheight="268" width="135">
                <
    img src="toolbar.gif" width="135" height="268" border="0" alt="">
            </
    td>
        </
    tr>
        <
    tr>
            <
    td height="100%" width="135">
                <
    img src="pixel.gif" width="1" height="1" border="0" alt="">
            </
    td>
        </
    tr>
        <
    tr>
            <
    td [b]valign="bottom" align="right"[/bheight="139" width="135">
                <
    img src="toolbarbottom.gif" width="135" height="139" border="0" alt="">
            </
    td>
        </
    tr>
    </
    table>


    </
    body
    I hope this helps,
    dmr.
    Code that I author is neither elegant nor efficient. It is, however, functional. Once I get something that works, I'm generally satisfied with myself - I mean, if it works, that's good enough, right?

    Originally posted by aknisely
    Sorry, but I feel uncomfortable on CC with clothes on
    __________________
    The truth ... is out there!

  3. #3
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609
    'dmr' is right but i have forgotten hot to eliminate the bottom margin of the page. sorry

Posting Permissions

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



Click Here to Expand Forum to Full Width