try this:
TEXT GOES HERE!
you need to tell the style what 50 is point or px and you forgot to close style values with "
hope that helps
2007-11-14 00:06:30
·
answer #1
·
answered by Kash 2
·
1⤊
0⤋
There are a couple of mistakes in the code.
Firstly, all numeric values must be followed by the units, otherwise they are usually ignored. So you should have top:50px; left:40px, etc.
Secondly, you have a closing slash (/) at the end of the div declaration. That means that browsers will think that your div ends there, rather than after the TEXT GOES HERE as you intended. So in fact the div that you so carefully styled doesn't contain anything, and the text itself isn't contained in the div.
Thirdly, you have opened the style declaration with a quote but haven't closed it at the end. Also, although this won't affect the positioning, you should enclose all attributes in quotes - so it should be id="layer1".
Taking it all together, this will work:
answer #2
·
answered by Daniel R 6
·
1⤊
0⤋
Hi,
You had some mistakes. Use this version. It works in IE and firefox. Code neat.
TEXT GOES HERE!
2007-11-14 08:09:18
·
answer #3
·
answered by Anonymous
·
1⤊
0⤋