How do I make a dynamic layer (Div) rather than an absolute one?

T

Titus A Ducksass

I want the effect of having a second layer (div) move relative to the
1st layer depending on the size of the font the user is using or if
the screen is resized so that the 1st layer does not over run the
second layer.

I can do this if I use tables for layout but cant figure it out for
layers.
 
D

David Dorward

Titus said:
I want the effect of having a second layer (div) move relative to the
1st layer depending on the size of the font the user is using

Define lengths in terms of the font size (em or ex units)
or if the screen is resized

Define lengths in terms of the canvas area (%ages)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top