Image overlay, postition problem
Posted: Sun Jan 14, 2007 3:26 am
I want to place an image as an overlay over my template. I noticed somehow I cannot place the image exactly where I want.
I started with adding this line to the <body> section if the of index.tpl:
I want the image more to the right, so that the bee does not cover the searchfield (andreas08 template).Example: http://www.3gz.com/test/ .
For this I changed the “right”-value from the line above. As soon thisvalue is higher than 0, the image gets placed right from the center (but too far). In- or decreasing the value has no effect, as long it’s higher than 0, the image always ends up in this position.
Also, the Top-value is ignored.
I moved the line throughout the body-section, no result. I tried it with the Kubrick theme: same problem, I have no control in where the image is placed.
I’m lost, I do not see what is causing this, what’s overriding my settings. Please, who can help me solving this?
I started with adding this line to the <body> section if the of index.tpl:
This results in the image being placed against the upper-right corner of the browser-window.<img style="background-color:transparent; position:absolute; top:0; right:0; border-width:0" src="bijt.gif" alt="Bee!" >
I want the image more to the right, so that the bee does not cover the searchfield (andreas08 template).Example: http://www.3gz.com/test/ .
For this I changed the “right”-value from the line above. As soon thisvalue is higher than 0, the image gets placed right from the center (but too far). In- or decreasing the value has no effect, as long it’s higher than 0, the image always ends up in this position.
Also, the Top-value is ignored.
I moved the line throughout the body-section, no result. I tried it with the Kubrick theme: same problem, I have no control in where the image is placed.
I’m lost, I do not see what is causing this, what’s overriding my settings. Please, who can help me solving this?