Is there a way to make multiple images on a page stationary without setting them as a single background?<img src=http://www.webdeveloper.com/forum/archive/index.php/"image1.jpg"><img src="image2.jpg"><img src="image3.jpg"> .... <img src="image20.jpg">I guess it depends on your definition of stationary. A couple of variations on the theme would be.
img { position: absolute; top:10em; left:10em; }
img { position: fixed; top:10em; left:10em; }I guess it depends on your definition of stationary. A couple of variations on the theme would be.
img { position: fixed; top:10em; left:10em; }
ok. this is the effect i am looking for. now, if i want to have one image at the top left of the page and one on the middle left of the page can i do that in one class? i know i can make it happen in two classes but one of the things i am most interested in CSS for is the ability to streamline it so i am just curious if there is a better way. here is what i have so far:
img.left
{
display: block;
position: fixed;
margin: 0 0 100px 0;
}nevermind. i just realized that i can set the <div> that they are in to a fixed position. thanks for the help.
img { position: absolute; top:10em; left:10em; }
img { position: fixed; top:10em; left:10em; }I guess it depends on your definition of stationary. A couple of variations on the theme would be.
img { position: fixed; top:10em; left:10em; }
ok. this is the effect i am looking for. now, if i want to have one image at the top left of the page and one on the middle left of the page can i do that in one class? i know i can make it happen in two classes but one of the things i am most interested in CSS for is the ability to streamline it so i am just curious if there is a better way. here is what i have so far:
img.left
{
display: block;
position: fixed;
margin: 0 0 100px 0;
}nevermind. i just realized that i can set the <div> that they are in to a fixed position. thanks for the help.