I Still think that the best way to solve this problem would be just to concider a way to make the word display on one line no matter how many letters are on either side of the cursor id and not like
for example
ASDFG
not
ASDF with the Gover the F and seven pixles lower.
Code:
#enter {position:absolute; display:inline; white-space: nowrap; height:19px; z-index:1;}
#cursor {position:absolute; display:inline; top:7px; display:inline; width:18px; height:19px; z-index:0;}
HTML Code:
<div id="enter">ANY NUMBER OF LETTERS
<div style="" id="cursor">O</div>ANY NUMBER OF LETTERS
</div>
||
<div id="enter">AFDS
<div style="" id="cursor">E</div>SDFSDF
</div>
if i change the css cursor atturbuite i get it all on one line but the cursor disappears when the cursor contains no character or " " (just a space) so i put a few (4) Now we have the problem that the cursor div is 7px to high how can i change the cursor id with the position:relitive to be 7px lower???
Last edited by Raisdead; 10-20-2008 at 03:07 PM..
|