View Full Version : centering an image
xxm0ntyxx
04-25-2006, 12:38 PM
how to put an image in the center of the screen?
Aragoth
04-25-2006, 03:25 PM
By centering, do you mean just straight down the middle, or do you want it to be able to scroll in the middle as you go?
djr33
04-25-2006, 07:21 PM
<center>[imagetag]</center>
(<center> is actually another name for <div align="center"></div>, so use that if you want.)
mwinter
04-25-2006, 08:57 PM
<center>[imagetag]</center>Please don't ever recommend deprecated markup.
The OP should apply the following CSS declaration to the element containing the image (assuming that it is horizontal centring that's under discussion).
text-align: center;
Mike
xxm0ntyxx
05-02-2006, 02:19 PM
what i want to do is that i want to put this script http://dynamicdrive.com/dynamicindex10/matrixeffect.htm as my welcome page and i want to put it in the center of the screen.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.