/    Sign up×
Community /Pin to ProfileBookmark

#apDiv positioned differently in IE6 and Firefox

this is my #apDiv css:

[CODE]#apDiv1 {
position:absolute;
left:234px;
top:273px;
width:715px;
height:391px;
z-index:1;
}[/CODE]

This shows up in a different location in IE6 then in Firefox. What is the work around?

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@KDLAMar 27.2008 — Rest of the code?
Copy linkTweet thisAlerts:
@WebJoelMar 29.2008 — this is my #apDiv css:
#apDiv1 {
position:absolute;
left:234px;
top:273px;
width:715px;
height:391px;
z-index:1;
}

This shows up in a different location in IE6 then in Firefox. What is the work around?[/quote]

Unless this "absolute-positioned" DIV is placed inside of another, "position:relative;" DIV, it is being based upon position 0,0 of your viewscreen. I suspect that it is, and IE default margin & padding is shoving things around.

  • * {margin:0; padding:0;}


  • as your first CSS statement might help take care of this.

    Need to see all of your code. ?
    ×

    Success!

    Help @itgoes 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.19,
    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,
    )...