This is a migrated thread and some comments may be shown as answers.

Best way to float text above rotator images

1 Answer 85 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 02 Aug 2016, 03:15 PM

I am using adRotator (Q2 2016 controls) to randomly display header images on a website with fade transition. So far so good, but now I would like to have a text title on a layer above the rotator so that the title remains fixed while the images change behind it. 

Can you suggest a browser-independent way approach to achieve this? 

Thanks for any suggestions!

Clive

1 Answer, 1 is accepted

Sort by
0
Clive Hoggar
Top achievements
Rank 1
answered on 02 Aug 2016, 09:55 PM

OK I cracked it..

I needed two divs, one for the rotator and one for the title text.

Each div needs a style attribute "position: absolute"

Then the first div will float over the second one

Tags
Rotator
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Clive Hoggar
Top achievements
Rank 1
Share this question
or