CSS Top property offsetting differently in FF/IE9, Cross-browser solution?

Colinc

New Member
On my page, there is a drop-down contained in a div element with in-line style 'position: absolute' and 'top: number' and 'left: number'. This div has a parent element.The drop-down displays incorrectly in IE8/9, too far below a text-box, seemingly at a position equivalent to the number of pixels set in 'top'. It seems that this was coded with FF, as the top value, when viewed in that browser, results in an offset from the top of the page, and a correcltly displayed div.According to W3Schools, IE is behaving correctly and top should offset from the parent element, not the top of the page. Is there a way to get firefox to conform?I tried using the 'auto' value in firebug, but that results in the div covering the text-box.Any ideas? (is there an 'auto + 10' or something :P)
 
Back
Top