PDA

View Full Version : AP Divs at left of Webpage?


epiczx
02-04-2011, 03:40 PM
Hi im new to this and in need of help. I recently centred my webpage and now the AP Divs which have the texts inside the tag are showing at the left of my webpage where it is white and whatever i try it wont stay where i position them. How do resolve this problem?:confused:

DWcourse
02-04-2011, 08:58 PM
it would be best to post a link but, if you wrapped all your AP divs in one, centered div, then apply the CSS position: relative property to the centering div.

There's a tutorial on this site, And, BTW, AP divs are a bad way to design a page layout.

epiczx
02-05-2011, 07:44 AM
then what is a good tool to use to design my page layout?

Corrosive
02-05-2011, 08:04 AM
then what is a good tool to use to design my page layout?

To get a stable and secure layout you should still use divs but use relative positioning and rely on the natural page flow of these divs to make your layout rather than 'placing' them on your page.

d a v e
02-05-2011, 08:05 AM
the best tool is a solid knowledge of html/css and a good understanding of page structure and layout on the web; so - hopefully - the best tool is your brain :)

http://www.htmldog.com
http://www.opera.com/company/education/curriculum/
http://www.w3schools.com/
http://www.cssbasics.com
http://www.sitepoint.com/article/html-css-beginners-guide/
http://net.tutsplus.com/tutorials/html-css-techniques/design-and-code-your-first -website-in-easy-to-understand-steps/