background image not filling screen
-
Hi,
I’m using the TwentyTen theme and I’m trying to get my background image to go all the way to the bottom and all the way to the right of the screen:
The code I’m using to insert the background image is:
body { background-image: url("../../../images/BG.jpg"); background-repeat: no-repeat; background-position: center; background-size: 100%; width:100%; }
Another issue I’m having is with the horizontal nav bar. When I look at it, it seems there is plenty of space on the right hand side for extra items, yet the ‘Contact’ item has been pushed down onto a 2nd layer. This must mean that the nav bar is actually (for some reason unknown to me) much narrower than the width of the div that it is sitting within.
My code for the horizontal nav menu is:
#access a { color: #ede4dd; display: block; line-height: 62px; text-decoration: none; font-family: Open Sans, arial; font-size: 16px; margin-top:0; margin-left:10px; height:65px; }
If anyone can help me with these 2 issues, I would be very grateful.
Thank you and seasons greetings,
Michael
- The topic ‘background image not filling screen’ is closed to new replies.