html help
Results 1 to 5 of 5

Thread: html help

  1. #1
    Senior Member z31200n3's Avatar
    Join Date
    Jan 2004
    Location
    Bellevegas
    Posts
    102

    html help

    okay, so i feel like an idiot for even having to ask this question....but oh well....

    im trying to get an image to display as background on one of my frames on my band's homepage... (disclaimer...i know very little java, even less c++, and even (more?)less about html...ive got the 'html, xhtml, and CSS bible' in front of me, and have been surfing w3schools.com for help..still cant get it to work)..okay, so what do i have to type to get this stupid .jpg to display as a background? It just doesnt do anything in that frame...(meaning, it just displays one big white empty frame)

    layout is as follows....
    one horizontal rectangular frame on top
    one vertical rectangular frame on left
    one big square frame in the remaining space (this is where i want the background image to be)

    i can get the image to display as an image, but not as a background.... any ideas?

    thanks in advance
    -z3

  2. #2
    Member
    Join Date
    Dec 2004
    Posts
    38
    It should be:
    Code:
    <STYLE TYPE="text/css">
    <!--
    .WHATEVERITSCALLED
    {
    background-image:URL('WHATEVER.JPG');
    background-color:BACKGROUNDCOLOR;
    color:COLOR;
    font-family:TEXT;
    font-weight:600;
    }
    -->
    </STYLE>
    But when you cite it, it must be in a table, eg:
    Code:
    <TABLE CELLPADDING=8 CELLSPACING=0 CLASS="BACKGROUND IMAGE THINGY">
    I think that's it...
    http://www.planet-smilies.de/teufel/teufel_017.gif
    My name is Draxx...you simians may refer to me merely as \'sir\' for a less syllable-intensive workout.

  3. #3
    Member
    Join Date
    Dec 2004
    Posts
    38
    It could be, with or without tables,
    Code:
    <blah blah blah blah background="IMAGE.JPG">
    That one would work if the other one didn't...
    http://www.planet-smilies.de/teufel/teufel_017.gif
    My name is Draxx...you simians may refer to me merely as \'sir\' for a less syllable-intensive workout.

  4. #4
    Senior Member z31200n3's Avatar
    Join Date
    Jan 2004
    Location
    Bellevegas
    Posts
    102
    hmmm, no luck...heres my code, maybe you can tell me where im going wrong :


    <html>
    <style type = "text/css">
    {
    background-image:url("escapelogo.jpg");
    background-color:white;
    }

    </style>
    </html>

    right now its nothing, obviously, im just trying to get the background to display lol...thanks for your time.

    -z3

    **escapelogo.jpg is the picture, obviously**

  5. #5
    Senior Member z31200n3's Avatar
    Join Date
    Jan 2004
    Location
    Bellevegas
    Posts
    102
    hey, nm
    i got it working :-)
    thanks so much for your help!

    -z3

Posting Permissions

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