Solved

Center Footer Image (CSS)

Posted on 2013-01-14
3
456 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now