![]() |
graphic not displaying with absolute positioning
1 Attachment(s)
Hey all,
I have a masthead div which I set as a reference point using position relative. Now I want to display two images, one a login and one a logo. The login graphic is actually two graphics that change position depending on hovering state. The other is just an image of a logo. Now when I try to display the page, the logo doesn't appear at all, and the login graphic displays but it appears another instance of it is hanging off the page. I attached the result. Here is the coding causing the issue: Code:
<style type="text/css"> |
Actually it suddenly appeared now. Does element placement in the html matter at all when working with relative and absolute positioning in this way? Is this the best way to lay out a masthead in this case? Keep in mind I ultimately want to place some javascript as well in the masthead to have images rotate repeatedly, showcasing a "product". Initially I was contemplating floats but then I thought given all the stuff I want to have layered on top of the background in the masthead - relative/absolute positioning was the way to go.
|
| All times are GMT +1. The time now is 01:07 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.