Forum Moderators: not2easy

Message Too Old, No Replies

positions for ap div

         

woody382

7:03 pm on Jan 2, 2008 (gmt 0)

10+ Year Member



Please help,

I have finally figured out the problem i am having.

I have designed a web page in photoshop and sliced it then saved it for web to use in dreamweaver.

In dreamweaver i have centered the page and coloured the background so that it all looks central. I then added an Ap div to put some text in, but the ap div it taking the left positioning from the zero and not from where me page begins which is central and starts at 40px.

How do i make the ap div take its position from where my page begins and not from zero.

cheers

SuzyUK

7:40 pm on Jan 2, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How do i make the ap div take its position from where my page begins and not from zero.

add

position: relative;
to the containing element/div

woody382

3:11 am on Jan 3, 2008 (gmt 0)

10+ Year Member



thanks,

So do i have to place a ap div within the sliced area then add an another one within with is relative to the containment div. so in effect i am creating two divs.

I did change the div in the sliced area to relative but it pushed one of the slices apart, but it allowed me to position the relative div to where i wanted it. how do i stop it from pushing the slices apart.

cheers

Xapti

8:41 am on Jan 5, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You asked the same thing a while ago... I thought you had your problem solved: [webmasterworld.com...]