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 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Iframes... Problem...

    Ok the site i'm missing around with is

    www.tnhxc.com/test/text.htm

    The it keeps giving the frames boarders, even though I have frameboarder="0", whats the problem with this?

    another question

    The cut and layout doesn't line up right in Firefox, is there anyway to fix this?

    Newb Web Designer

    -Timmy

  • #2
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    There's also a "border" attribute, or style property...
    ... then again, you might want to respell frameborder:
    Quote Originally Posted by Onesock
    even though I have frameboarder="0"
    Last edited by codegoboom; 03-20-2005 at 02:15 PM.
    *this message will self destruct in n-seconds*

  • #3
    Regular Coder Ranger56's Avatar
    Join Date
    Mar 2005
    Location
    Kent, WA.
    Posts
    783
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Onesock
    Ok the site i'm missing around with is

    www.tnhxc.com/test/text.htm

    The it keeps giving the frames boarders, even though I have frameboarder="0", whats the problem with this?

    another question

    The cut and layout doesn't line up right in Firefox, is there anyway to fix this?

    Newb Web Designer

    -Timmy
    Do you know oif anywhere where I can get a good tutorial on how to keep the background the same, yet change the content, which are inside small boxes with scroll bars, like you did?

  • #4
    New to the CF scene
    Join Date
    Mar 2005
    Location
    NY
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Ranger56
    Do you know oif anywhere where I can get a good tutorial on how to keep the background the same, yet change the content, which are inside small boxes with scroll bars, like you did?
    im not exactly sure what you want, but i what im guessing is you want to have a background image that doesn't scroll while the content(text,images,etc) does

    to do this you put bgproperties="fixed" up in the <body> tag
    for example, <BODY background="bckgrnd_img.jpg" bgproperties="fixed">

  • #5
    Regular Coder
    Join Date
    Aug 2004
    Location
    The US of A
    Posts
    767
    Thanks
    1
    Thanked 0 Times in 0 Posts
    x_X

    Use CSS for that.

    background: url('img.png") fixed;

  • #6
    Regular Coder Ranger56's Avatar
    Join Date
    Mar 2005
    Location
    Kent, WA.
    Posts
    783
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No, I mean like a box of text, predetermined height and width, with a scroll bar.

    And I want the background to remain the same when i click liks to go to different places, only the boxes to change.

  • #7
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    okay so you mean a div with overflow auto? here is an example, the div will obtain a scrollbar if the content inside exceeds its height
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Untitled Document</title>
    <style type="text/css"><!--
    #scrollingdiv {
    width:500px;
    height:500px;
    overflow:auto;
    }
    -->
    </style>
    </head>
    
    <body>
    <div id="scrollingdiv"></div>
    </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
    •