Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Nov 2005
    Location
    Australia
    Posts
    1,086
    Tokens
    111

    Latest Awards:

    Default Iframe Background Code

    Can somebody please tell me the HTML code for a iframe which doesn't have a whitebackground. Like if there was a image where the iframe was gonna go.. How would I keep that?

    Thanks + rep.


  2. #2
    Join Date
    Aug 2005
    Location
    Spain
    Posts
    1,367
    Tokens
    0

    Latest Awards:

    Default

    <iframe src="/url here.htm" frameborder="0" width="130" scrolling="yes" height="172"></iframe>


    Then just add bgcolor="here"

  3. #3
    Join Date
    Nov 2005
    Location
    Australia
    Posts
    1,086
    Tokens
    111

    Latest Awards:

    Default

    Quote Originally Posted by nelly
    <iframe src="/url here.htm" frameborder="0" width="130" scrolling="yes" height="172"></iframe>


    Then just add bgcolor="here"
    and where would I add it? I want the image as the background.
    Last edited by additional; 04-07-2006 at 12:20 PM.


  4. #4
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    make the iframe trasnperent and them put iframe over the image

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  5. #5
    Join Date
    Nov 2005
    Location
    Australia
    Posts
    1,086
    Tokens
    111

    Latest Awards:

    Default

    and how would I do that, kind sir.


  6. #6
    Join Date
    Jun 2006
    Posts
    4,832
    Tokens
    0

    Latest Awards:

    Default

    No need. Insert the iframe where you want it to go, and on the page you want to show it on, edit the page and put the bg on that page.
    Last edited by Hitman; 04-07-2006 at 12:37 PM.

  7. #7
    Join Date
    Jan 2006
    Location
    Manchester, UK
    Posts
    233
    Tokens
    0

    Default

    Have the iframe named as say iframe1.html and then in the Iframe page which is iframe1.html add in the head section.

    Code:
    <style type="text/css">
    <!--
    
    body {
            background-image: url();
    }
    
    Or
    
    body {
            background-color: #fff;
    }
    --!>
    </style>
    Last edited by Oracle:; 04-07-2006 at 12:38 PM.

  8. #8
    Join Date
    Aug 2005
    Location
    Spain
    Posts
    1,367
    Tokens
    0

    Latest Awards:

    Default

    Are you follwing me every forum i'm on your their
    Quote Originally Posted by Oracle
    Have the iframe named as say iframe1.html and then in the Iframe page which is iframe1.html add in the head section.

    Code:
    <style type="text/css">
    <!--
     
    body {
            background-image: url();
    }
     
    Or
     
    body {
            background-color: #fff;
    }
    --!>
    </style>

  9. #9
    Join Date
    Jun 2006
    Posts
    4,832
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Oracle
    Have the iframe named as say iframe1.html and then in the Iframe page which is iframe1.html add in the head section.

    Code:
    <style type="text/css">
    <!--
    
    body {
            background-image: url();
    }
    
    Or
    
    body {
            background-color: #fff;
    }
    --!>
    </style>
    aka what I said.

  10. #10
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    one problem with yours kapt is the background would scroll i think he wants so the backgroudn stays the same and just the text srolls.

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


Page 1 of 2 12 LastLast

Posting Permissions

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