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 10 of 10
  1. #1
    Banned
    Join Date
    Jul 2002
    Location
    england
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    can you HELLP!??

    i need to get my banner on my site http://www.angelfire.com/wrestling/jwtapes in the right place of the top frame.... any ideas on how to do this? thanks.

  • #2
    Regular Coder
    Join Date
    May 2002
    Location
    Maine, USA
    Posts
    573
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In the page that loads into the top frame (containing the banner), add the following to the head section:

    <style type="text/css">
    body {margin: 0px;}
    </style>

    Then, add the following to the body tag of the same page:

    <body...topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">

    Good luck .
    boxer_1
    CodingForums Moderator
    "How did a fool and his money get together in the first place?"

  • #3
    Banned
    Join Date
    Jul 2002
    Location
    england
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    the weirdest thing has happened... i added the html and the banner appears at the very top of the page in preview, but not when the url is typed in... yes I checked it saved properly and yes I have tried hitting the refresh button. Any ideas?

  • #4
    Regular Coder
    Join Date
    May 2002
    Location
    Maine, USA
    Posts
    573
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by sharpshooter
    the weirdest thing has happened... i added the html and the banner appears at the very top of the page in preview, but not when the url is typed in... yes I checked it saved properly and yes I have tried hitting the refresh button. Any ideas?
    Ok, you added the style part ok, but the body part I gave you was not meant to be added seperately, but inside of the body tag you already have. You have this:

    <body...topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
    <body bgcolor=black>

    Should have:

    <body bgcolor="black" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">

    See what I mean?
    boxer_1
    CodingForums Moderator
    "How did a fool and his money get together in the first place?"

  • #5
    Banned
    Join Date
    Jul 2002
    Location
    england
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the help... but it hasnt made a difference.

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi, try adding the marginheight attribute to your bannerframe;

    <frameset rows="64,*">
    <frame name="banner" scrolling="no" noresize marginheight="0" target="contents"

  • #7
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Forgot, there's also framespacing="0"

  • #8
    Regular Coder
    Join Date
    May 2002
    Location
    Maine, USA
    Posts
    573
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hmm...you have a couple of problems in the source. You have 2 closing body tags and you should close your tags in the same case as you open them. For example, you have:

    <body bgcolor="black" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> </BODY>
    <center><img src="images/banner.jpg"></center>
    </BODY>

    Try replacing the above with:

    <body bgcolor="black" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
    <center>
    <img src="images/banner.jpg" border="0" width="586" height="75">
    </center>
    </body>

    Notice I also added the proper dimensions to your image as well as a border of "0". Good luck .
    boxer_1
    CodingForums Moderator
    "How did a fool and his money get together in the first place?"

  • #9
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts
    QUOTE: hi thanks for all your help but i still cant get the damn image to load at the top of the page.

    Well sharpshooter, when I borrowed your code and tried it offline without the Angelfire stuff I really couldn't see even one pixel of space between the banner and the frame. So it must be their code causing this. Bad luck..

  • #10
    Banned
    Join Date
    Jul 2002
    Location
    england
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok thanks everyone....hmmm damn you angelfire..


  •  

    Posting Permissions

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