Set text of Div
- Started
- Last post
- 3 Responses
- digilee
I've been trying this for a while now with not the success that I want to.
I have:
1 layer with position = absolute.
Like this is works fine excpet that if I resize the browser the layer is stuck in position.If I change it to position = relative, I lose the layer, as in it changes back to a normal div and therefore can't set the text!
I have a demo online if need be.
mail me and I will go through things with you.
- MX_OnD0
I volunteer.
- digilee0
Actually I sorted it late last night!
The process is:
create a div : position relative
then inside this create a span : position absolute.This then allows the div to float around when the browser is resized and the span can still be targeted.
So I spend 4 days trying to work it out then I actually give in and post the question here only to actually work it out myself in the end.
Why does that always happen!
- foreign0
yeah, know what you mean.
i've done it a few times... start typing out what you're trying to do and you start thinking about it diffirently, maybe?