User talk:Brest/sandbox/images

images
Take a look at my user page.

IMAGE HERE  does half the trick. However, the image width must exceed the displayed width of your screen, in pixels (with the standard Monobook skin and Firefox at 1024x768, that's roughly 830 pixels for me) AND you must define the div style as hidden overflow, extending the former example to

. To choose the exact part of the image being displayed, you have to create a second div layer within the above mentioned first: . Don't forget to close both div layers with.

The example from my user page is

results in:



If you want to display as much of the image as possible, you must change the resolution to the width (in pixels) of your displayed page, but slightly exceeding it rather than too narrow (some 830px in my case):

results in:



Be warned, however, that pages with such code may not work with Internet Explorer.

Regards, —AldeBaer 08:49, 8 June 2007 (UTC)


 * Which is why this shouldn't be used in articles, only on user pages. —AldeBaer 11:03, 8 June 2007 (UTC)
 * You're welcome. Another tip: You can always create subpages of your user page, such as User:Brest/sandbox to play around with code. The examples I put here are really cluttering your talk page right now, so you may want to move them to such a subpage. Just an idea. Also, if you have any further questions, don't hesitate to ask. —AldeBaer 16:43, 8 June 2007 (UTC)