Display an Image in a Particular Position


How can I position an image on the screen the way I would like? The image is bigger than the capacity of the screen and the user can use the scrolling bars to move the image around. This is fine, but I would like to position image on the screen in particular starting position, which in this case is the lower right corner of the image (and not upper left corner of the image, which seems to be the default position).


If you are targeting the major browsers (Netscape Navigator and Internet Explorer), you can position an image anywhere you want. Although the tags used to do this will be different in the two browsers, both can provide the desired end result. Internet Explorer will use either the or

tags. Both of those tags create an invisible area on your page that can be controlled in a number of ways. The difference between the two tags is that the
tag automatically includes a new line so that that there will be white space between the
and whatever follows. The does not automatically include the white space.

Both tags enable you to control a number of attributes of whatever is in between the tags, such as X and Y coordinates. If you surround the tag with a or a

, you can control the location of that image as it appears on the page.

Netscape Navigator provides similar functionality through its tag. If you surround the tag with a you can control the location of that image as it appears on the page. Although you can achieve a similar effect in either browser, they use different tags (objects). You will need to add code near the top of the page to detect which browser is being used and then execute the appropriate code for that particular browser type.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


The Latest

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a

chrome os developer mode

How to Turn on Chrome OS Developer Mode

Google’s Chrome OS is a popular operating system that is widely used on Chromebooks and other devices. While it is designed to be simple and user-friendly, there are times when users may want to access additional features and functionality. One way to do this is by turning on Chrome OS

homes in the real estate industry

Exploring the Latest Tech Trends Impacting the Real Estate Industry

The real estate industry is changing thanks to the newest technological advancements. These new developments — from blockchain and AI to virtual reality and 3D printing — are poised to change how we buy and sell homes. Real estate brokers, buyers, sellers, wholesale real estate professionals, fix and flippers, and beyond may