Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default In-depth question

    Here's my Code

    <html>
    <head>
    <style type="text/css">

    img._behind
    {
    position:absolute;
    left:0px;
    top:0px;
    z-index:-1
    }

    img._middle
    {
    position:absolute;
    left:0px;
    top:0px;
    z-index:0
    }

    p._top
    {
    position:absolute;
    left:0px;
    top:0px;
    z-index:0
    }
    </style>
    </head>

    <body>
    <img class="_behind" src="obgradient2.JPG"
    width="100%" height="60">

    <p class="_top">RMS</p>
    </body>
    </html>

    That should make "obgradient.jpg" stick to the top left corner in the
    background and "RMS" stick right over it
    When I look in the Design view, that is what it shows, but when I open
    homepage.htm, it shoes "obgradient.jpg" in the right place, but "RMS" below it.
    Here are screenshots of what I mean:
    [url]http://www.geocities.com/thoughtsonreligion/Help1.htm[/url]

    Trust me, the link works.
    Anyone know the answer or how I could change the code to make it work?
    Thanks.

    Nick Schade Guest

  2. Similar Questions and Discussions

    1. depth help!
      I have found discussions about depths, and swapping depths, but can;t find a definitive guide that shows how to use the swapdepths command. I have a...
    2. comparisons and depth
      sorry to post two questions in one day, but i have run into a second problem. i have a looping movie clip which changes _y position randomly with...
    3. batch reducing image depth without affecting image depth
      Hi All, I have to optimise a project for a client, the main part is reducing all the image bit depths from 32 bit to 16 bit. I was just going to...
    4. Custom Bit Depth
      Creating a custom Bit (Pixel) Depth in photoshop.
    5. Set bit depth of an image
      Hi. I haven't been able to get an answer in the vb newsgroup on the topic, so I'll try here. I'm converting .tif images into other image formats...
  3. #2

    Default Re: In-depth question

    Perhaps you should try something simpler, depending on what you final design
    is. The code below puts the text in a layer (DIV) and sets the image as a
    no-repeat background. The spacing of the text may need some work, but this
    solution is easier to deal with.

    <html>
    <head>
    <style type="text/css">
    .top {
    background-image: url(obgradient2.jpg);
    background-repeat: no-repeat;
    height: 60px;
    width: 500px;
    }
    </style>
    </head>

    <body>

    <div class="top">RMS</div>
    </body>
    </html>

    delaneypub Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139