Solved

Center Footer Image (CSS)

Posted on 2013-01-14
3
466 Views
Last Modified: 2013-01-14
Please visit www.mwebdev.com/ls.html. I'm trying to center the footer image horizontally across all resolutions and screen sizes, and I'm having trouble doing so. Please take a look at the image (skylines with sky background) and advise on how I can center it. Thanks!
0
Comment
Question by:isaacr25
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 30

Accepted Solution

by:
LZ1 earned 500 total points
ID: 38775556
Use this for your #footer CSS background:
background: url("images/footer-skyline.jpg") no-repeat scroll center top transparent

Open in new window

0
 

Author Comment

by:isaacr25
ID: 38775623
Wow... sometimes the simple things just get away from you! Thanks.
0
 
LVL 30

Expert Comment

by:LZ1
ID: 38775626
No problem. It's always good to have another pair of eyes take a look at things.
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn how to count occurrences of each item in an array.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question