View Full Version : Layout Help!!


CurbProphet3
01-03-2006, 02:54 AM
I have a question about how to keep my head image to stay in one place instead of moving around in the browser. When you click on the link you can notice that when you make the internet explorer/netscape bigger or smaller the head picture moves from side to side. Is there a code to help me keep it lined up with my backround?

This layout is on my site:
www.sins-not-tragedies.murder-me-love.net/elijah.html

Thanks so much:)

salomeyasobko
01-03-2006, 03:04 AM
You can do that using absolute positioning. You need to put your header in a DIV layer and then position it with the purple code:

<DIV style="position: absolute; top: ##px; left: ##px;">header image code goes here</DIV>

Of course, make sure to put actual values for the top and left pixel numbers.

Good luck! =)

By the way... you added top:800px; for the position of your main DIV, and i don't know if it was on purpose, but it's sort of annoying.. You have to scroll down a lot to see your content. I would suggest removing that, or at least making it less. :)