/    Sign up×
Community /Pin to ProfileBookmark

CSS position top problem firefox

I have a site based on css positioning of div elements but for some reason one of these elements appears higher on the page than expected when opened in firefix

however it displays correctly in EI 7

can anyone shed any light onto how to solve this problem

thanks

this si the code im using in my css file

[CODE]#LeftPanel {
position:absolute;
left:0px;
top:106px;
width:229px;
height:329px;
z-index:1;
}[/CODE]

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@ray326Sep 20.2006 — Is one of those sites the one in question? How 'bout a link?
Copy linkTweet thisAlerts:
@BWWebDesignsauthorSep 20.2006 — never mind fixed the problem, im a bumb ass lol trusting software to code properly lol
Copy linkTweet thisAlerts:
@XeelSep 20.2006 — it could be many things. It always helps to know that absolute position for div depends on the div above if there is one, and only if there is none it will place the div in absolute position on the frame/work screen. Also GRE-based browsers as well as Opera for ex. have their work screen borders different from IE, it's normal that the same coords don't give you same result for all browsers - and IE is a very SPECIAL browser. Try to define all attributes in CSS for the body element (padding, margin, border, etc.) - it helps a lot.
Copy linkTweet thisAlerts:
@XeelSep 20.2006 — ah, lol, ok
×

Success!

Help @BWWebDesigns 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...