PDA

View Full Version : Screwed up my nav bar


MRudland
Feb-01-2009, 07:12 PM
I was trying to figure out how to change my banner image on my home page and copied this before I did anything so that all I should have to do was repaste it in.

#my_banner {
width: 750px;
height: 281px;
margin: 0 auto;
margin-bottom: 10px;
background: url(/photos/309650809_7fcHV-O.jpg) no-repeat;

I didn't get it right so I repasted it in exactly as I copied it before changing anything. Now, my nav bar is all weird and I don't have a banner.
My site is www.auphoto.net
I would appreciate it if someone could help me with this. I'm not very good with this html stuff and this is the first time in a year I've considered changing things for that very reason.

Thanks
Michelle

J Allen
Feb-01-2009, 07:14 PM
Your missing a closing brace:

#my_banner {
width: 750px;
height: 281px;
margin: 0 auto;
margin-bottom: 10px;
background: url(/photos/309650809_7fcHV-O.jpg) no-repeat;}

MRudland
Feb-01-2009, 07:15 PM
Your missing a closing brace:

#my_banner {
width: 750px;
height: 281px;
margin: 0 auto;
margin-bottom: 10px;
background: url(/photos/309650809_7fcHV-O.jpg) no-repeat;}

LOL thank you!
How stupid am I?
M

MRudland
Feb-01-2009, 07:22 PM
LOL thank you!
How stupid am I?
M

You wouldn't happen to know where I get the code for putting the banner in?
background: url(/photos/309650809_7fcHV-O.jpg) no-repeat;}
Here is the banner I want in it now...but I can't figure out where I need to go to get the code to look like that above...
http://www.auphoto.net/gallery/2605086_A5JyQ#466112660_NR8AA-L-LB
Michelle

DrDavid
Feb-01-2009, 08:01 PM
Use this code:

#my_banner {
width: 800px;
height: 300px;
margin: 0 auto;
margin-bottom: 10px;
background: url(/photos/466112660_NR8AA-L.jpg) no-repeat;
}

David