Click to See Complete Forum and Search --> : Position Div inside a frame


narutodude000
04-11-2010, 09:38 PM
I made a template for my ebay listings, but the positioning is always messed up because ebay uses frames.

My listing on ebay:
http://cgi.ebay.ca/ws/eBayISAPI.dll?ViewItem&item=250613080215&ssPageName=STRK:MESELX:IT#ht_1942wt_958

The same thing on a normal html page:
http://ebaystyle.webs.com/naruto317.html

I tried absolute positioning, relative positioning, centering, and margin-left,but none of them work. I thought it'll work if I use percents, so I tried:
<div style="position:absolute;top:145px;z-index:9;margin-left:9.9%;">
But it still doesn't work.

katierosy
04-26-2010, 07:59 AM
As the Ref site resluting a 404 error, i can't make a comparision with ebay and HTML page.

try to give the frames (parent of your absolute divs) position: relative.

I hope it will help you to fix your allignment issues.

narutodude000
04-26-2010, 05:16 PM
Yes, I already fixed it using a simple align="center" when text-align:center doesn't work