PDA

View Full Version : border issue for ul inside div tag


humpfry
05-01-2012, 03:41 AM
whenever i set my div tags position to absolute, and the top, bottom, left, and right to auto, i can move the div around just fine. The only issue is that when i view the site in firefox or chrome the div tag is always way far to the left of where it should be even though in dreamweaver it appears correct. i am quite confused. if anyone can help it would be awesome. Thanks!

edbr
05-01-2012, 04:10 AM
absolue positioning takes its reference points form the parent , so if you have in the body it will reference the screen, do not rely on the dreamweaver view, test in browsers, and at different screen resolutions if you use absolute

humpfry
05-01-2012, 02:34 PM
I'm sorry i don't exactly understand what you mean by having it inside the body and it being referenced. I am not to good with my terminology.

edbr
05-02-2012, 01:46 AM
post your code and maybe we can explain your problem