Results 1 to 10 of 10

Thread: An inch to much...

  1. #1
    Join Date
    Aug 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default An inch to much...

    Lo all!
    Kay, this is probably a really easy and noobish problem but still I am kinda lost. I have looked at the html for hours and hours and still can't find what I am doing wrong.

    My problem is that at the top I wanted the website to hug the top of the screen, which it does perfectly! Now, it's to the bottom I get a little disorientated. I want it to hug the bottom as well...to get that solid and nice look... But, I get like a half of an inch where the background is visible. Maybe I should point out as well that there is three iFrames on top of eachother that holds the content. After the iFrames there is supposed to be the bottom...but noo.

    Anyways, here it is...

    <html>
    <head>
    <title>Here Goes Title</title>
    </head>
    <body topmargin="0" bgcolor="#620000" background="backdrop.jpg" leftmargin="0">
    <p align="center">

    <iframe name="I1" marginwidth="1" marginheight="0" width="652" scrolling="no" align="top" border="0" frameborder="0" height="254" src="tophtml.htm">
    Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>

    <iframe name="I2" width="652" marginwidth="1" marginheight="0" scrolling="no" align="top" border="0" frameborder="0" height="1585" src="middlehtml.htm">
    Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>

    <iframe name="I3" width="652" marginwidth="1" marginheight="0" scrolling="no" align="top" height="182" border="0" frameborder="0" src="bottomhtml.htm">
    Your browser does not support inline frames or is currently configured not to display inline frames.</iframe></p>

    </body>
    </html>

    Ok, that's about it...why does this half an inch show up at the bottom?

    Best Regards,
    Richie

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Thumbs up

    Hi
    Plz checkout the second IFRAME you mentioned in your code

    <iframe name="I2" width="652" marginwidth="1" marginheight="0" scrolling="no" align="top" border="0" frameborder="0" height="1585" src="middlehtml.htm">
    Its height is 1585 thats a very large, i don't know whether you intended to type 158 and mistyped it into 1585.

    If you make it to 158 you can achieve what you are intending

  3. #3
    Join Date
    Aug 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I see what u mean but what I mean is that the site should hug the bottom when it's draged to the bottom. The fact it's this large is to fit the content in the mid iFrame. I am sure the problems lies somewhere in the last iFrame cause when draged to the bottom I don't want to be able to see that backdrop. See what I mean?

    Best Regards,
    Richie

    PS: U had a point though...but sadly it wasn't it. Keep it up!

  4. #4
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Thumbs up

    <iframe name="I3" width="652" marginwidth="1" marginheight="0" scrolling="no" align="top" height="182" border="0" frameborder="0" src="bottomhtml.htm">
    Your browser does not support inline frames or is currently configured not to display inline frames.</iframe></p>
    change the above third IFRAME into the following

    <iframe name="I3" width="652" marginwidth="1" marginheight="0" scrolling="no" align="top" height="182" border="0" frameborder="0" src="bottomhtml.htm"></iframe>


    Please remove the error mesg you've specified inside the third IFRAME and check this out
    Last edited by codeexploiter; 08-25-2006 at 11:42 AM.

  5. #5
    Join Date
    Aug 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Didn't solve it I am afraid. Gave it an added inch to the gap at the bottom. However I did this instead.

    I took away the <P> blablabla </P> from the entire code and changed it to <Center> blablabla </Center>

    It took away some of the gap but I still got like a fourth of an inch presented at the bottom that I don't wanna have there. Hmm...

    Any other ideas? U seem to have a few!

    Best Regards,
    Richie

  6. #6
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Actually i don't understand why do u want to give that <center>blahblabh</center> in this html?

    I've got the correct result using the following code in my machine

    <html>
    <head>
    <title>Here Goes Title</title>
    </head>
    <body topmargin="0" bgcolor="#620000" background="backdrop.jpg" leftmargin="0">
    <p align="center">

    <iframe name="I1" marginwidth="1" marginheight="0" width="652" scrolling="no" align="top" border="0" frameborder="0" height="197" src="tophtml.htm">
    Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>

    <iframe name="I2" width="652" marginwidth="1" marginheight="0" scrolling="no" align="top" border="0" frameborder="0" height="197" src="middlehtml.htm">
    Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>

    <iframe name="I3" width="652" marginwidth="1" marginheight="0" scrolling="no" align="top" height="194" border="0" frameborder="0" src="bottomhtml.htm"></iframe></body>
    </html>

    Plz checck this one and tell the outcome

  7. #7
    Join Date
    Aug 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    That's so weird, cause I don't. I still get that half inch at the bottom showing the backdrop. What browser are u using? I am uisng Firefox...are uy using IE?

    Best Regards,
    Richie

  8. #8
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  9. #9
    Join Date
    Aug 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    WOW, that just did it! Works like a wonder! Man, if I was half as clever as u and just half as stupid as I am now...lol...got inspired by Blizzards footer...

    Anyways, thanks alot! U guys rock!

    Best Regards,
    Richie

  10. #10
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Got here too late... glad it is solved!
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

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