Thread: picture perfect

    #1
  1. No Profile Picture
    giorgios
    Guest
    Devshed Newbie (0 - 499 posts)
    Is there any way to force a picture up against the edge of the browser window the same way it does when you place it as a backround image.

    I need to make two halves of the same image in two different frames push up against each other so thet they look like one image. Ordinarily I would just place them as the background but in this case i would like to have them resize to 100% when the user changes resolution.

    I realize this may be more of a HTML problem than a javasript problem, but if there's a HTML solution I haven't found it.

    Please help me

    ------------------
    If our time is up, what is down?


    [This message has been edited by giorgios (edited 05-23-99).]
  2. #2
  3. No Profile Picture
    giorgios
    Guest
    Devshed Newbie (0 - 499 posts)
    What i am trying to do is create a large circular backround image that is resizeable to all resolutions but keeping the text in the center of the circle.

    I have seen it done before on a site that is now defunct so I know it is possible.

    ------------------
    If our time is up, what is down?
  4. #3
  5. No Profile Picture
    scollo
    Guest
    Devshed Newbie (0 - 499 posts)
    Using CSS:

    <DIV STYLE="position:absolute; left:0; top:0">
    <!-- Object -->
    </DIV>
  6. #4
  7. No Profile Picture
    dahamsta
    Guest
    Devshed Newbie (0 - 499 posts)
    Unfortunately CSS isn't backwards compatible. Neither is this, but it's more backwards compatible than CSS.

    Remove the margins left and top in your BODY tag like this:

    <BODY marginwidth=0 leftmargin=0 marginheight=0 topmargin=0>

    You HAVE to use both "width" and "left" and "height" and "top", because going back to 3 browsers they used different tags to do different jobs (I think we know who to blame).

    You can use the same attributes in FRAME tags, but it's best to put them in both just in case.

    Cheers,
    adam
  8. #5
  9. No Profile Picture
    giorgios
    Guest
    Devshed Newbie (0 - 499 posts)
    Thanx Adam, I think you're suggestion might do the trick.

    Scollo. You're suggestion might also work but I am almost competely ignorant of CSS. Is there anyplace I can find a simple no fuss tutorial for begginers on the web?

    ------------------
    If our time is up, what is down?

Similar Threads

  1. Randomising picture placement
    By Chewie in forum PHP Development
    Replies: 3
    Last Post: January 20th, 2004, 07:28 AM
  2. Saving a picture in mySQL?
    By Phönix in forum MySQL Help
    Replies: 1
    Last Post: October 16th, 2003, 10:20 AM
  3. Check if the cell has a picture
    By malb4uk in forum Visual Basic Programming
    Replies: 1
    Last Post: September 12th, 2003, 11:56 AM
  4. Check if the picture is in the cell?
    By malb4uk in forum Visual Basic Programming
    Replies: 1
    Last Post: September 9th, 2003, 11:48 PM
  5. Refreshing picture
    By Mark Barto in forum HTML Programming
    Replies: 3
    Last Post: September 22nd, 2000, 07:57 AM

IMN logo majestic logo threadwatch logo seochat tools logo