What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » JS (and css) image thingy

JS (and css) image thingy
Author: Message:
Supersonicdarky
Veteran Member
*****

Avatar

Posts: 2317
Reputation: 48
– / – / Flag
Joined: Feb 2005
Status: Away
O.P. JS (and css) image thingy
i need to find the script that will stick an image in the corner of the webpage

i've seen this on make poverty history advertisements :undecided:

found code:
code:
<script type="text/javascript" src="http://www.makepovertyhistory.org/whiteband_small_right.js"> </script><noscript><a href="http://www.makepovertyhistory.org/"> http://www.makepovertyhistory.org</a></noscript>

image i want instead: [Image: image.gif]

This post was edited on 10-20-2005 at 09:14 PM by Supersonicdarky.
10-20-2005 09:08 PM
Profile E-Mail PM Find Quote Report
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
RE: JS image thingy
Its CSS
http://www.makepovertyhistory.org/whiteband.css

you need to be logged in to view the image you want =/

This post was edited on 10-20-2005 at 09:15 PM by hmaster.
[Image: sig.png]
10-20-2005 09:13 PM
Profile PM Web Find Quote Report
Supersonicdarky
Veteran Member
*****

Avatar

Posts: 2317
Reputation: 48
– / – / Flag
Joined: Feb 2005
Status: Away
O.P. RE: JS image thingy
i know css is there too

i tried editing both, but i didn't help :(
10-20-2005 09:14 PM
Profile E-Mail PM Find Quote Report
brian
Senior Member
****

Avatar

Posts: 819
Reputation: 43
– / Male / –
Joined: Sep 2004
RE: JS (and css) image thingy
Create a div class? with aligned at 0,0 and set the the width and height to the image file, and add it as a background..
10-20-2005 11:16 PM
Profile PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: JS (and css) image thingy
Use this.

code:
<style>img#topright{position:absolute;left:100%;top:0px;margin-left:-200px;}</style>

<img id="topright" src="http://img.photobucket.com/albums/v242/supersonicdarky/image.gif"/>
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
10-20-2005 11:37 PM
Profile PM Web Find Quote Report
Supersonicdarky
Veteran Member
*****

Avatar

Posts: 2317
Reputation: 48
– / – / Flag
Joined: Feb 2005
Status: Away
O.P. RE: JS (and css) image thingy
thnx :D
10-21-2005 12:18 AM
Profile E-Mail PM Find Quote Report
qune
Full Member
***

Avatar


Posts: 300
Reputation: 6
Joined: Mar 2003
RE: JS (and css) image thingy
better off try to avoiding "position" attribute and negative margins at all in css (different browsers most commonly produce different results, when applied)...

use this instead:

CSS

img#topright {
  margin:0 0 auto auto;
  border:0;
  float:right;
}


html
<img id="topright" src="..." width="..." height="..." alt="..." />


EDIT: make sure your body margins and paddings are set to 0...

This post was edited on 10-21-2005 at 09:54 AM by qune.
10-21-2005 09:52 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On