
Oct 29th, 2007, 00:00
|
|
SuperMember
|
|
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Re: Centering an image with CSS without moving anything else on the page.
HTML:
- Code: Select all
<img id="logo" src="http://simplifiedimpact.com/images57/silogo.png"> CSS:
- Code: Select all
#logo {
display: block;
margin: 0 auto;
}
|