1 reply [Last post]
Last seen: 11 years 19 weeks ago
Timezone: GMT-7
Joined: 2011-02-23
Posts: 1
Points: 2

All -

For some reason, my absolutely positioned

elements are positioning themselves relative something besides the top of the browser window. Can anyone point me in the right direction?

I am attempting to rewrite an e-commerce site. One of the design specifications is that links to different product categories need to be precisely laid out on the page. For some reason, setting the top and left attributes with absolute positioning doesn't work. If I set the position to absolute / top=0 left = 0 the content appears about midway down the page in the correct "Left" position.


tags are contained within a form; I have read in several places that this shouldn't affect how they are placed.

This is happening consistently across IE8, Firefox, and Chrome.

I have tried the following:
1. Specifying the position directly in the div tag (

2. Using relative positioning
3. Modifying the position using the "Inspect element" functionality in Chrome
4. Modifying the position using the Developer Tools in IE8
5. Modifying the position using the Firebug in Firefox

Nothing seems to position the element in the correct place.

Thanks in advance for your help!


jon19870's picture
Lancashire, England, UK
Last seen: 7 years 23 weeks ago
Lancashire, England, UK
Joined: 2007-01-05
Posts: 195
Points: 194

Without any code or website

Without any code or website to look at it's extremely difficult to try and help you, so give us something to look at.