/    Sign up×
Community /Pin to ProfileBookmark

Position Div inside a frame

I made a template for my ebay listings, but the positioning is always messed up because ebay uses frames.

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

The same thing on a normal html page:
[URL=”http://ebaystyle.webs.com/naruto317.html”]http://ebaystyle.webs.com/naruto317.html[/URL]

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:

[QUOTE]

<div style=”position:absolute;top:145px;z-index:9;margin-left:9.9%;”>

[/QUOTE]

But it still doesn’t work.

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@katierosyApr 26.2010 — 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.
Copy linkTweet thisAlerts:
@narutodude000authorApr 26.2010 — Yes, I already fixed it using a simple align="center" when text-align:center doesn't work
×

Success!

Help @narutodude000 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...