Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Nick Schade #1
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
-
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... -
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... -
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... -
Custom Bit Depth
Creating a custom Bit (Pixel) Depth in photoshop. -
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... -
delaneypub #2
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



Reply With Quote

