Hi all
I have hit a blank on this one maybe I need to use an absolute div or something. I have two divs (top, bottom) and I want to put the red arrow image arrowmain.png to be half overlapping both divs. How can I do this please? Thank you test
Just put the arrow img in the bottom div. Giv the bottom div position relative and the arrow img position absolute. Then use top/left to put it where you want.
That code is a bit muddled and not quite sure what you are trying to do. The element called #bottom isn’t clearing the floats above so you will get the background sliding underneath and the absolute positioning will vary between browsers.
You have omitted the co-ordinates also so all browsers will just leave the element where it thinks it is in the flow which is awkward because of the float set up.
Clear the floats and apply co-ordinates and all browsers will be the same.
Thanks Paul I will sort it out! I can move the abosultely positioned image horizontally but moving it vertically using “top” in the css it seems it is calculated from the top of the page, not the top of the div which would seem to make more sense. Shall I use padding instead to control vertical position? Thank you