Streaming live at 10am (PST)

How to set a div position relative to the container (section it is in)

Hello all,

I am trying to place a div within a section and under positioning I have selected ‘Absolute’. However I notice settings are set relative to body. I want the positioning to be relative to the container it is in - so the section in my case. I can’t seem to change the ‘relative to’ function.

Basically, I want to have the div within that section so on different viewers it’s always contained within that section.

Can anybody help?

Many thanks,

Adam


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Hi

Did You set the section to relative ?

Thanks. Yes - that worked. Many thanks!