View Full Version : Please help me center my banner
Iron Creek
Nov-08-2006, 03:53 PM
Okay, now that I've got your attention .... I'm tweaking my site (ironcreekphoto.smugmug.com) and in doing so my banner is now off centered (leans to the left). I searched for clues and answers however couldn't find any. Can someone help me out here?
Allen
Nov-08-2006, 04:01 PM
Okay, now that I've got your attention .... I'm tweaking my site (ironcreekphoto.smugmug.com) and in doing so my banner is now off centered (leans to the left). I searched for clues and answers however couldn't find any. Can someone help me out here?
Try this.
#my_banner {
position:relative;
left:70px;
width: 750px;
height: 150px;
margin-left:auto;
margin-right:auto;
background:
url(http://www.ironcreekphoto.smugmug.com/photos/108736162-O.jpg) no-repeat;
}
Al
Iron Creek
Nov-08-2006, 04:14 PM
Try this.
#my_banner {
position:relative;
left:70px;
width: 750px;
height: 150px;
margin-left:auto;
margin-right:auto;
background:
url(http://www.ironcreekphoto.smugmug.com/photos/108736162-O.jpg) no-repeat;
}
Al
Al, YOU DA MAN!
It works great. Many many thanks. Now can you help me out one more time and read the problems I'm going thru attempting to add a link? The thread is under "I need a little help" any and all help is most welcome.
Again thank you very much
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.