ThomasJSmart
Programmer
- Sep 16, 2002
- 634
been trying to solve this for hours but not getting anywere :/
how can i get the div position:absolute to work like it does in IE6?
i have a very large body of dynamic text. within this text i will be adding some dynamic DIVS to certain words. in IE 6 i give the div a position:absolute and width/height and some colours and place it in the text.
this is some <div id="somediv">divText</div> text.
now in IE6 the div is floating lovely by the word "Text".
in any other browser its all the way over on the left.
as i said the text is dynamic, so i have no idea what the x/y location is going to be that the div should appear at so i cant realy add a container div. adding a <table> around the div just breaks the sentance up moving "text" to the next line...
can this be fixed or should i just try some totally different aproach?
Thomas
I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
how can i get the div position:absolute to work like it does in IE6?
i have a very large body of dynamic text. within this text i will be adding some dynamic DIVS to certain words. in IE 6 i give the div a position:absolute and width/height and some colours and place it in the text.
this is some <div id="somediv">divText</div> text.
now in IE6 the div is floating lovely by the word "Text".
in any other browser its all the way over on the left.
as i said the text is dynamic, so i have no idea what the x/y location is going to be that the div should appear at so i cant realy add a container div. adding a <table> around the div just breaks the sentance up moving "text" to the next line...
can this be fixed or should i just try some totally different aproach?
Thomas
I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!