Hello everyone,
I have been trying to get my <div> tags to center in all the browswers in the different size monitors. After doing some research I am almost there. But I’m not there yet. Can anyone tell me what I am doing wrong? I put the margin numbers in as guess work and it looks like it’s centering however, I know it’s not. Thanks for your help.
PS: You guys were right. Divs are so much better than tables!
PS: You guys were right. Divs are so much better than tables!
Hi,
It sounds like your new to tableless layouts. You need to realize that absolute positioned elements are completely removed from the page flow and other in-flow elements are blind to them. One of the worst things someone can do when coming from tables is to start building pages with AP.
Absolute positioning should really only be used for small portions of the page that NEED to be removed from the page flow.
Get rid of the AP wrappers or your next question will be “why won’t my footer go to the bottom”.