PDA

View Full Version : AP Div Help


beachbummer01
08-08-2008, 02:00 PM
Ok so I created a website in Dreamweaver CS3. On everypage I used AP div boxes to put my links an pictures anywhere.

Come to find out that I screwed up lol.

in the browser it is not positioned like I would like it to be, it stays in the same place while the background minimizes with the broswer.

The website is www.westpeg.com if you wanted to see for yourself.

I have no Idea what to do plz help!

TORCH511
08-08-2008, 06:47 PM
The <DIV> elements are absolutely positioned, meaning that the browser displays them in a fixed location regardless of what instructions are given to any higher container elements.

In order to get the links to move they need to be relativly positioned, however you can not just change them, since when you do they will not line up correctly. There are many ways to do accomplish this, Me, I would put each column into a DIV, set the margin:left property for position and by default the second column. Another hazard you will find is that your page is just too wide and when most people open the page the second column may slide underneath.

You need to sit down over the weekend and read up on CSS positioning and the CSS box model.