...

View Full Version : Load an Image in Corner of Website?



New World
10-09-2011, 10:46 PM
How can I make it to where an image will load in the corner of a website?

Specifically, I have part of a template I want all people to see, however, some people either get it cut off or not shown at all because of their resolution.

Old Pedant
10-09-2011, 11:42 PM
You didn't say which corner, so I assumed upper-right.

Nothing to do with JavaScript.

Just use CSS.

Silly example:


<html>
<body>
<div style="width: 100%; text-align: right; background-color: yellow;">
<img src="test.jpg" alt="here"/>
</div>
<div style="position: relative; width: 2000px; background-color: pink;">
stuff in here
</div>
</body>
</html>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum