Click to See Complete Forum and Search --> : Fixed Banner Problem


benjamindelury
03-17-2010, 03:11 AM
:mad:I am trying desperately to make a clickable banner for the top left corner of my bands myspace page. Here is a link to a page that has the type of banner I am trying to make work on our page: http://www.myspace.com/brianposehn

I have made such a code, however the banner I made does not move in accordance with different sized monitors. I want it to appear in the upper left-most corner no matter what screen it is on. Can anyone help with this?

Also, I know it's a long shot, but is there any way to get this banner to show up on Internet Explorer as well?


Thanks in advance,
Here is the code I currently have in place:

<div class="CORNERPIECE CLICKABLE" style="
left:auto;
top:0px;
z-index:3;
width:210px;
height:470px;
position: fixed;
margin-left: -588px;
overflow: hidden;">
<a href="http://www.ticketmaster.com/Bullet-for-My-Valentine-tickets/artist/1009824"><img src="http://i157.photobucket.com/albums/t61/arcaniumband/350x470Cornerpiece.png" border="0" alt="" /></a>
</div>

benjamindelury
03-17-2010, 03:21 AM
Well, I figured out that if I put "left:" at 0 and put "margin-left:" at INHERIT The banner stays in the upper right on any screen.

I would still like to know if there is a way to make this banner visible on internet explorer, though. Thanks

Here is my newest code:

<div class="CORNERPIECE CLICKABLE" style="
left:0;
top:0px;
z-index:3;
width:210px;
height:470px;
position: fixed;
margin-left: inherit;
overflow: hidden;">
<a href="http://www.ticketmaster.com/Bullet-for-My-Valentine-tickets/artist/1009824"><img src="http://i157.photobucket.com/albums/t61/arcaniumband/350x470Cornerpiece.png" border="0" alt="" /></a>
</div>

Major Payne
03-18-2010, 02:11 AM
IE has a problem with PNG formats. Might try redoing as a jpg or gif. GIFs support up to 256 colors so choose wisely.

See...

http://homepage.ntlworld.com/bobosola/pngtestfixed.htm
http://www.killersites.com/mvnforum/mvnforum/viewthread?thread=7056
http://www.pcmag.com/article2/0,2704,1645331,00.asp